Sandboxing with User Accounts?

Discussion in 'Mac Basics and Help' started by Reg88, Apr 17, 2013.

  1. Reg88 macrumors regular

    Jun 8, 2010
    If I wanted to try something on my Mac (e.g. install a trial, etc) but I don't want it on my main install, can I simply create a "sandbox" user account that I can create and delete and recreate as needed? If something "bad" happens in the sandbox account, can it "spread" to the other accounts on the system?

  2. benwiggy macrumors 68020

    Jun 15, 2012
    Applications are normally stored in the /Applications folder, which is available to all users and part of the main "system".

    You can create an Applications folder in a user account and install programs there. Then they will only be available to that user.
    Applications normally run "as" the user that launched them. Any app launched by a non-admin user will not be able to write to system areas, and can generally only write inside their user account.

    You can of course create and delete as many user accounts as you like.

    However, the only advantage of doing so really is keeping any user data -- files, preferences, etc, separate from your other account.

    If you use your main account to test the app, the in the event of something catastrophic, you can always restore the account from your backup.

Share This Page