3

This question is related to this other question.

After you have jailbroken your device, you have root access to your device and so do apps that you install.

Can you change the account that an application runs with after you have installed it? This would allow to use an account with less privileges.

If it's possible, then how do you grant/revoke access to data (address book, emails, settings) and APIs (install keyboard hooks, issue network request)?

1 Answer 1

2

Someone would have to write a sandbox for jailbroken programs, which would be extremely ironic, because the point of jailbreaking was to escape the sandbox. Normal apps still run under the mobile user when you're jailbroken, though, so there's nothing to worry about there. All jailbreak packages have full access to anything, and there's currently nothing you can do about that. Just play it safe, and only install trusted packages from reputable developers/repositories. A related question that I answered on the same subject can be found here.

2
  • I see your point. But if I wanted to, could I change the user account that is used to run an application? Or does the springboard always spawn child processes for apps using the mobile user account?
    – Sly
    Commented Jul 11, 2012 at 15:09
  • Springboard runs under the mobile user and all apps run under the mobile user. In fact, most everything is going to run under wireless (for cellular data) or mobile. Mostly daemons and system tasks run under root. Some JailBreak packages need root access (for example, SBSettings). You can't change the user which apps run under without modifying SpringBoard, and I wouldn't recommend doing it. Commented Jul 11, 2012 at 16:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .