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?

link|improve this question
feedback

migrated from stackoverflow.com Feb 7 at 8:51

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

1 Answer

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.

link|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 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 at 10:37
feedback

Your Answer

 
or
required, but never shown