A friend of mine is going to stay here for two days, and I am sure he will need to ask me to use the Mac (and PC) in the study room. (which will be tons of work to move them and no matter where they are moved, the friend for sure will ask for use of a computer).

In such case, what is the best way to protect my privacy, so that he won't be able to look at my Documents folder, Photos folder, etc, and all of my Firefox, Chrome, Safari's History, Bookmarks, and Stored Passwords?

I can create a temporary account, I think, and log in using that tmp account, but will that protect looking at my default user folders on hard disk, and also, the Safari / Firefox / Chrome etc were installed so that they can be used by all users, so do I also need to remove all those History, Bookmarks, Stored Passwords, on each browser? (and it is not good to remove the bookmarks and stored passwords because I may need them later).

Is there a better way?

  • What model and OS version are you running? (It actually makes a difference)
    – Daniel
    Commented Dec 1, 2011 at 16:00

5 Answers 5


I enable the Guest Account in System Preferences, then go to the login screen when someone else wants to use the computer. That way they get a totally clean user with none of my personal settings, and anything they do is wiped from the system when they log out. It's super handy.

  • 4
    Just calling out the wipe out - most people are so used to files always being saved, that despite the warning that all files will be erased on log out, I've had some people really curse the guest account when an airline itinerary of homework file is nuked when someone else logs them out.
    – bmike
    Commented Jun 16, 2011 at 20:31

Just make sure your admin account has a good password that isn't written down anywhere (or add some numbers you will remember to your usual password.)

From there, you can make a guest account for them - as long as it isn't an admin user - they can't grant themselves access to your files.

If anything is truly sensitive - don't let them near the mac. It's easy to boot any mac from an install disk and access your files since my operating system won't care what your password was. Your guests would only need time, a little knowledge and curiosity (or worse) to have access to anything that isn't otherwise encrypted on your Mac. You can (should?) make encrypted disk images to store any sensitive information that you wish to protect from someone that would access your mac against your wishes.

See this article for an explanation. Even if you store your password in your keychain (less secure) - a technician can't see the contents of the folder unless they crack your password (or your keychain/log in password). It will just be scrambled bits.


If you want really 99.999% security, the only way is to encrypt your data. (Because in the worst case, it's possible to open your Mac, take off the HDD, and read it in another computer).

To enable encryption, you can use FileVault:

System Preferences > Security > FileVault

See: Use FileVault to encrypt the startup disk on your Mac

Ps: Honestly, I never tried it. Maybe someone can post more about it.

  • 2
    FileVault can be a bag of hurt - if the user doesn't have half the drive free - there may not be enough space to encrypt the files or decrypt them later when FileVault is no longer needed. I much prefer using small disk images to only encrypt the files that really need it despite the extra steps and learning needed.
    – bmike
    Commented Jun 16, 2011 at 20:33

If you enable Open Firmware in addition to using the Guest account option, you basically you would need to start disassembling the Mac to get at the information.

bmike is correct in saying with an install disk or single user mode you can reset the password, but if you have a Guest account with Open Firmware you are going to be pretty safe. BE CAREFUL HOWEVER: Apple does not support Open Firmware and it can be a pain if you forget the password.

From Apple's article:

Features of Open Firmware Password Protection Intel-based Mac computers

  • Blocks the ability to use the "C" key to start up from an optical disc.
  • Blocks the ability to use the "D" key to start up from the Diagnostic volume of the Install DVD.
  • Blocks the ability to use the "N" key to start up from a NetBoot server. Blocks the ability to use the "T" key to start up in Target Disk Mode (on computers that offer this feature).
  • Blocks the ability to start up in Verbose mode by pressing the Command-V key combination during startup.
  • Block the ability to start up a system in Single-user mode by pressing the Command-S key combination during startup.
  • Blocks a reset of Parameter RAM (PRAM) by pressing the Command-Option-P-R key combination during startup.
  • Requires the password to enter commands after starting up in Open Firmware, which is done by pressing the Command-Option-O-F key combination during startup.
  • Blocks the ability to start up in Safe Boot mode by pressing the Shift key during startup. Requires the password to use the Startup Manager, accessed by pressing the Option key during startup
  • One more point: Open Firmware passwords are easily decryptable. Never set it similar or the same as your user password.
    – user6124
    Commented Jun 16, 2011 at 12:33
  • OF passwords can be bypassed if you can get to the hard drive inside the machine. Apple does support users with Open Firmware according to this great article. support.apple.com/kb/HT1352 It's a nice tool and might be perfect for this case (two weeks of security), but once you know how it works, it's easy to break if you have access to the machine.
    – bmike
    Commented Jun 16, 2011 at 20:30
  • Yeah I agree they can be bypassed or decrypted, but he said two days, and while he was there, so he would have to be quite a ninja :) Commented Jun 17, 2011 at 2:53

Short Term:
If all you want is to protect your browsing history and some personal photos from prying eves/accidental bumping for a couple of days (or weeks) all you need is a new user, without admin privileges.
Just make sure that all your personal data is in your home folder (UserName/Documents, UserName/Pictures etc). Anything outside, and especially in the Public or Shared folders are, well, open public (most of the times)
All your browser cache/history/bookmarks are also stored per user.
So creating a new user should satisfy all your requirements in the short term.

I assume your friend isn't going to come with a OSX in stall disk, or another mac (or PC) and some cables to remove the hard disk and connect it to them.

Long term:
As almost all others have said, Encryption is the only foolproof way to save data. File Vault (System Preferences - > Security) can help. You can also create encrypted disk images (Applications -> Utilities -> Disk Utility)

You must log in to answer this question.

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