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

I have a folder which is with in the www folder (/wamp/root/www). I need to prevent this folder from being cut, copied and opened from others.

Is there is any way to do this?

share|improve this question

migrated from Feb 7 '12 at 8:51

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

Yes, you can set the permissions to allow read, write, and execute permissions by specific user or group. The permissions are accessible through Folder Properties > Security.

See this link for details on the specific procedure. You will want to give yourself and the web server process "Full Control" permissions, and give everyone else no permissions.

Note that the web server (XAMPP) most likely runs as a different user and group to you. Giving yourself read/write permissions does not automatically let XAMPP read and write the folder. This can be the source of all kinds of entertaining permissions errors.

share|improve this answer
Can Apache recognisable windows folder permissions though ? , as XAMPP runs an apache server so im not sure if it would see the permissions or not ?. – Iain Simpson Feb 7 '12 at 10:15
Good point. I'm not actually sure how Apache handles permissions on Windows (and since I don't have access to a Windows computer right now, I can't try it.) – Li-aung Yip Feb 7 '12 at 10:37

There is a program named Prevent, that does this. Download it , try it.

share|improve this answer

You must log in to answer this question.