|Join Nairaland / Login / Trending / Recent / New|
Stats: 1,643,030 members, 3,051,080 topics. Date: Sunday, 28 August 2016 at 03:01 PM
|Re: The Apple iPhone Thread by logica(m): 2:28pm On Jan 05, 2009|
indeed, there are some 3rd party apps back in 1.1.1 that i remember didn't use root privileges, but rather used something like "mobileuser"; not sure of the exact name. but the fact that an app can run using root privilege at all violates a sandbox model. that's the point i'm making.
|Re: The Apple iPhone Thread by ExInferis(m): 10:25am On Jan 06, 2009|
well that is absolutely true, but only for apps that do run in a sandbox model and simulate/emulate privileges using digital certificates. in Unix you know very well that almost everything requires permissions (files, directories, etc) and certain requirements/resources require much more than standard user privileges.
its not like apps run in elevated privilege mode all the time; its at the install stage where directories are created, files are modified and functions called. all these go beyond your average usermode. recall that if you're running in Terminal, changes require the chmod, chown or chgrp commands which most often requires root password if the change is systemwide or beyond the normal user layer of the app. fact is, most apps with running daemons require root!
in xcode the Perforce server root directory requires root access, (so also in LDAP which was used in global directory in some of those dreadful webapps) and then theres Process Rights Management which is a sort of subroot (or simulated root if you will) where requirements inherit ONLY those root privileges they need and not full system access.
I'm sure you know also that OS X is a BSD system with 3 level of users: Owner, Group, and Other. each has their own read/write/execute acces to the files and directories in the system. the Owner of a file or folder is generally who created that file/folder (remember apps create files and folders). this Owner can assign access for the other 2 types of users and in Unix only root can transfer ownership and assign privileges.
now recall all those 0775 and 0755 file permissions we needed to change via SSH in those days? those permissions are automatically assigned by apps in the install stage on those directories that (1) the apps themselves created and (2) the apps need. but they can't very well do that without root access, the same USER:ROOT-PASSWORD:ALPINE credentials you supply to WinSCP, Putty or Iphone Tunnel Suite (whatever you bend to).
so in essence, as apps are installed, changes are made to directories/files with permissions, and these changes require some root power.
but here lies the rub: root access in OS X is by default disabled. what you end up with is the Admin Account which grants the powers of root with one single exception: changes to any files in the system domain is the exclusive preserve of the superuser/root. so in most cases these apps are given admin privileges to effect changes, transfer control, assign permissions and interact with the low-level kernel. at the end of runtime these admin powers are stripped from the caller.
|Re: The Apple iPhone Thread by flyuche(m): 6:39pm On Jan 06, 2009|
@Ex. Thanks. I get the picture. But you know, this your lengthy essay could be summarised in just one sentence!
|Re: The Apple iPhone Thread by cabali(m): 10:15pm On Jan 06, 2009|
only you would think that. But why dont you give us that sentence summarizing everything ex just posted. (not that i believe it is remotely possible)
|Re: The Apple iPhone Thread by logica(m): 8:17am On Jan 07, 2009|
my guy, this is the most important phrase in ur post: "most apps with running daemons require root".
|Re: The Apple iPhone Thread by flyuche(m): 8:53am On Jan 07, 2009|
Thanks Logica for the summary. Cabali you see?
|Re: The Apple iPhone Thread by naijafan(m): 11:25am On Jan 07, 2009|
will you just STFU? the way you are thanking Ex and Logica makes me wonder if you even understand what is being said here.
@Logica. No sir. Daemons are not actual applications. Appstore apps dont require root access. Jailbreak apps that dont perform extra-ordinary acctions dont require root access as well.
On a legal iPhone (without the jailbreaks), all applications effectively run in sandboxes. Jailbreaking destroys that sandbox model. Apps can now arbitrarily read other apps' data (Tunewiki, etc), inject themselves into other running apps (QuickGold, Dock, yellowsn0w etc) or make permanent (persistent even after a reboot) systemwide changes (winterboard, etc.) These apps will never make it to the AppStore because
#1. they violate Apple's sandbox model
#2. they wouldnt run on a device that isnt already jailbroken anyway.
|Re: The Apple iPhone Thread by logica(m): 1:34pm On Jan 07, 2009|
Hopefully, the security model has changed radically from what I read here in these articles:
I have posted the articles in order of improvement of the security model.
They changed the model by having apps run using the "mobile" privilege (that was the user id I was trying to remember earlier), but this still isn't a sandbox, as a rogue application that takes hold of the "mobile" id will equally be able to do damage to all apps.
Now, I'm not sure if there is a newer model that the last 1 I posted.
|Re: The Apple iPhone Thread by naijafan(m): 3:43pm On Jan 07, 2009|
i remembered seeing something like that when OpenClip for iPhone almost debuted. had to do some searching to get the link out again. here: http://daringfireball.net/2008/08/raining_on_the_openclip_parade
scroll down to the "iPhone sandboxing" section. We probably aren't seeing things from the same perspective.
the fact that a rougue app can inflict damage using 'mobile' was never proven. just check the comments under that last article you posted. sounded more like a mis-guided comparison with google's andriod.
|Re: The Apple iPhone Thread by lynxnoon(m): 5:33pm On Jan 07, 2009|
Guys pls sorry for digressing a little,,,,,,,,,,does any1 know know wen naija wil be added to itunes store?
|Re: The Apple iPhone Thread by naijafan(m): 6:09pm On Jan 07, 2009|
Nigeria wasnt even in the list of countries the iPhone 3G was gonna be rolled out to soon. Cameroun made the list.
|Re: The Apple iPhone Thread by cabali(m): 10:17pm On Jan 07, 2009|
It's a shame this boy does not know anything being said here on this thread at all!!
|Re: The Apple iPhone Thread by flyuche(m): 11:18pm On Jan 07, 2009|
@naijafan. If it makes you feel any better, you could remove the 'thanks'. I understand English better than you do regardless of the fact that i had a french education. What you should be wondering about is the direction of this boring thread considering the malicious code you in your post: STFU. Otherwise i would have asked you to K M A!
|Re: The Apple iPhone Thread by lynxnoon(m): 1:22am On Jan 08, 2009|
naijafan:men naija no try oh
ok u guya using d itunes store,,,,,,did u use credit card here or hv som1 subcribe ova dere for u?
tnx for u replies
|Re: The Apple iPhone Thread by naijafan(m): 9:56am On Jan 08, 2009|
Good thing this thread is boring to you. I never visit the FBT/Opera mini threads cos they are boring to me as well. Now, can you please excuse us and stop being a troll?
|Re: The Apple iPhone Thread by flyuche(m): 11:34am On Jan 08, 2009|
Naijafan .I won't give you the pleasure.
|Re: The Apple iPhone Thread by flyuche(m): 11:39am On Jan 08, 2009|
Naijafan .I won't give you the pleasure. I will teach you guys a few things. Watch out.
|Re: The Apple iPhone Thread by flyuche(m): 11:40am On Jan 08, 2009|
Naijafan .I won't give you the pleasure. I will teach you guys a few things. Watch out.
|Re: The Apple iPhone Thread by ExInferis(m): 12:26pm On Jan 08, 2009|
|Re: The Apple iPhone Thread by logica(m): 12:33pm On Jan 08, 2009|
apparently the security model has been updated after much criticism. it now actually looks more like the model in Android (this is quite obvious). there was no need 4 any serious demonstration 2 show that any malicious code that gets a hold of the "mobile" profile can wreak havoc on all installed apps, as they all shared this profile.
|Re: The Apple iPhone Thread by cabali(m): 11:03pm On Jan 08, 2009|
I dare u!!!
|Re: The Apple iPhone Thread by cabali(m): 11:05pm On Jan 08, 2009|
|Re: The Apple iPhone Thread by cabali(m): 9:01am On Jan 09, 2009|
now ex, tex,
1. How do you get contacts sync to the iphone 3g. There is one that seems unlocked, it picks various networks can browse at 3g speed but during the attempt to sync, it requests for the original. sim card attached to the phone
2. configuring microsoft exchange
Can y'all help?
Hey tex are u back?
|Re: The Apple iPhone Thread by texazzpete(m): 10:22am On Jan 09, 2009|
Yeah, i'm back. Still frantically trying to get fast internet in my house. Dunno what's wrong with my place
MTN 3G turns to 2G once you get indoors
Starcomms EVDO turns to CDMA 1x some meters from my house
All Wimax solution i've tested do not get any appreciable signal, even though the baffled salesmen assure me that people not too far from that area get good signals. I've tried Direct on PC, Hyperia Wimax etc
It's a really, really shitty situation, but i still manage to keep up with what's going on. Namely
1. Ex Inferis, Logica are holding the fort nicely, and possibly chasing away casual observers with geek speak
2. Flyuche doesn't realise that Muza was out for the humor (he's since relocated to the Politics section and Israel bashing), he (Flyuche) strangely feels he has something to offer and does not realise how much of an idiotic troll he sounds like
I dunno about this 'Phones' section, man. there's very few people doing what this forum was set up for and actually discussing PHONES. CES 2009 is on right now, not too many new devices announced, but at least we've got the Palm Pre as perhaps the first device to make a convincing competitor to the iPhone's UI and there's no talk about that.
Meanwhile, someone in the office got hold of that 'iphone 3g vs stone' chart and now i have a different battle to fight on home turf
cabali, your number isn't going through.
|Re: The Apple iPhone Thread by logica(m): 11:25am On Jan 09, 2009|
Oh yeah, Ex, I forgot 2 commend u on the themes. really nice.
|Re: The Apple iPhone Thread by ExInferis(m): 6:08pm On Jan 12, 2009|
thanks. for some reason sprinboard crashes, havta find a way to fix that. then upload to Cydia.
could it be the 3G permanent unlock?
|Re: The Apple iPhone Thread by cabali(m): 7:59am On Jan 13, 2009|
am just reading this sorry man! I had a major crisis on my line and I cant seem to get zain to fix it for a while now. I will txt u with an older number I have in use in the interim
|Re: The Apple iPhone Thread by cabali(m): 8:02am On Jan 13, 2009|
@ tex et. al.
Do u guys use iphone pc suite? how effective is it?
|Re: The Apple iPhone Thread by ExInferis(m): 2:18pm On Jan 15, 2009|
its matured considerably, and is almost what itunes *should* have been. if only they can get it to install apps.
redsn0w is likely the new ipod touch jailbreak.
|Re: The Apple iPhone Thread by Ced8: 6:14pm On Jan 15, 2009|
This thread had beta nt die, It keeps expectant iphone owners lyk me maintain interest, Eh,tex bro,im open 4 dt iphone o,or do i hav 2 b a pain lyk **** b4 im considered?Oh n u ex(meant in a respeckful way),i cant help bt fall in like wit u;i cld b ur biggest fan u knw!
hope im nt off topic by a long shot sha
|Re: The Apple iPhone Thread by ExInferis(m): 8:01pm On Jan 15, 2009|
u are more than welcome to be my biggest fan, and then some. if however you turn out to be a dude im coming after you with a righteous 12 gauge.
|Re: The Apple iPhone Thread by texazzpete(m): 8:13pm On Jan 15, 2009|
Have they gotten the ipod section to work in PC Suite? Haven't updated in a while.
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2016 Oluwaseun Osewa. All rights reserved. See How To Advertise. 163