Wednesday, November 30, 2011

How to make Folders Inaccessible by everyone ?

1. Open cmd.
2. Change to the directory where your folder is located.       cd <dir_name>
3. cacls <directory name> /e /p everyone:n
4. Now noone, including you can not open or delete that folder/directory.
5. To remove the restrictions, again follow from step 1 and 2.
6. cacls <directory name> /e /p everyone:f
7. Thats it. Now you can protect your folders from unauthorised access.
1. Open cmd.
2. Change to the directory where your folder is located.       cd <dir_name>
3. cacls <directory name> /e /p everyone:n
4. Now noone, including you can not open or delete that folder/directory.
5. To remove the restrictions, again follow from step 1 and 2.
6. cacls <directory name> /e /p everyone:f
7. Thats it. Now you can protect your folders from unauthorised access.

No comments:

Post a Comment