Applying the Restrictions on the Files and Folders

• You can set permissions on the Files and Folders in Windows so that no one else can open or access them.

• Windows carries Access Control List command ‘CACLS’ to apply the Access security on the Files and Folders.

• Let’s say we have a folder ‘bilal’, to set the permission on ‘bilal’, command is as follows:
CACLS bilal /E /P Everyone:N



• If any unauthorised person try to open this folder then windows gives error as follows:




• To remove the restrictions on the folder , command is as follows:
CACLS bilal /E /P Everyone:F




Note: Make sure that you are in the Correct Directory in the Command Prompt while Locking the
Files or Folders. If Folder name carry spaces, put the folder name in “” (i.e "bilal shaikh")while running command 
Share this article :
 

Post a Comment

 
Support : BILAL SHAIKH | BILAL SHAIKH | ALL TECHNO GEEKS
Copyright © 2011. All Techno-Geeks - All Rights Reserved
Template Created by BILAL SHAIKH Published by ALL TECHNO GEEKS
Proudly powered by Blogger