Data protection is the most important thing nowadays because modern people are doing their lot of things using a computer. They save data on computers and cloud drives. But sometimes they can forget to backup their to a cloud drive and data can be unprotected from deleting or changing. Commonly people do hiding their files in the system32 folder, zipping with a password, or hiding them on a portable drive. Whether it be documents or applications, always don’t want to hide them, and we want to protect them at their location. In this guide, we are looking at how to protect files from deletion on Windows operating system.
Deny Security Permission
As a one way, you can change permissions from everyone else from the default permissions. For this method, you don’t want another third party application. Follow these steps.
- Navigate the file you want to prevent from deleting and changing.
- Right-click on it and select the ‘Properties’ option, then select the ‘Security’ tab.
- In the Security tab, find a button named Advanced at the bottom. Click on it, and it will open a new window.
- The following window lets you define permissions for the selected file. Click on the ‘Disable inheritance’ button at the bottom left corner to modify file permissions.
- It will ask two options from you. Select the ‘Convert inherited permissions into explicit permissions on this object’ option from it.
- Now you will see all of the accounts on your operating system. Click on the account that you need to prevent from deleting your selected file and then click on the Edit button.
- Click the Show advanced permissions on the following screen. Then uncheck the checkbox named Delete. Also, uncheck other options if you want.
- Click on OK buttons on the following screens as well and then exit all the open windows.
That’s all. Now your files are protected from deletion and modified. It trying to edit or delete them, they will get a permission error and they can’t to able to proceed the task. This is the easiest way to protect files from deletion.