Protect your folders


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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s