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?
migrated from stackoverflow.com 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.