• 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
• 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
• 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
Post a Comment