Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there anyway to secure a folder from other's access through password? Preferably free.

share|improve this question

migrated from Aug 5 '10 at 14:50

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

If you really want to create a password protected archive then you could also create a password protected disk image. See How to create a password-protected (encrypted) disk image in Mac OS X 10.3 or later. You don't need any 3rd party software for that, it will create a separate file that you can use to store your sensitive data, and when you open it will be opened just like a regular volume (external disk or the like), so you can add/remove files as you see fit.

share|improve this answer

If you're talking about other user accounts on the system, simply use chmod(1), like this:

chmod 700 /my/private/directory

That'll give your account read, write, execute access to the directory, and remove those rights from the other users on the system. Of course, root can easily bypass this.

share|improve this answer

You must log in to answer this question.

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