When we talk about security and privacy then we never compromise with these two things. Because nowadays the first thing we talk about that is Security and Privacy. In previous article you have seen about How to create Undeletable or Unrenamable folder in window pc? These both articles help you to protect your private files and folders. These both are protecting you with unauthorized access and unwanted file viewers. We are using third-party software for protecting our files from this kind of activity.
Before doing these you have to create a folder at safe location in your hard disk. Keep your files and folder which you want to make inaccessible in your windows pc. Don’t make that folder in your root drive it may be harm operating system. Making this folder is going to help you to protect your form with the help of windows inbuilt feature. This task is not time taking its easy to establish with the help of windows command prompt.
Make a folder inaccessible in windows pc
Make a folder name of ‘secret’ any safe place on your hard disk and put your files in that folder.
Press windows + R key and type cmd and hit enter.
Type the following syntax.
cacls <folder_name with path> /e /c /d %username%
cacls i:\secret /e /c /d %username%
Point to Note.
/D user Deny specified user access.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
Go to directory and try to open that folder it will show error message as shown below.
Make that folder accessible.
Press Windows+R key, type cmd and hit enter.
cacls <folder_name> /e /c /g %username%:f
cacls i:\secret /e /c /g %username%:f
You will get that folder in normal form. Make sure that the file system is NTFS. Otherwise, this technique won’t work.
Keep in your mind that almost every one can done who has little knowledge or familiar to windows operating. They can access or make visible to your files easily in folder option menu from windows explorer.