Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Feb 7 '12 at 8:51

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

add comment

2 Answers 2

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.