How to protect important Word files? For precious Word documents, we want them not to be edited or modified at will. PHP editor Baicao has compiled two efficient solutions for you to help you protect the security of sensitive information. Read on for detailed steps to protect your documents from unauthorized changes.
Method 1: Set "read-only mode"
We can set the Word document to open in "read-only mode", so that even if the document is edited and modified, it cannot be saved directly.
Setup steps:
First, select the Word document that needs to be protected, right-click the mouse and select [Properties];
After opening the [Properties] dialog box, check the [Read-only] option, and then click [OK]. The Word document will be set as a "read-only" file.
When you open the Word document again, you can see that the file name is marked as "read-only"; although the document can be edited and modified, the original document cannot be saved when the document is closed.
When closing the document, a dialog box will pop up, prompting "This file cannot be saved because it is read-only." In other words, the original document cannot be saved. You can only modify the file name or change the save path and save it as a new document.
Cancellation steps:
If you no longer need protection in the future, you can follow the setting steps to bring up the [Properties] dialog box, and then remove the "check" in front of [Read-only].
Method 2: Set "restriction password"
Method 1 Although you cannot edit or modify the Word document directly, you can still save it after saving it as a new document. If you want to not be able to edit it directly, we can set a "restriction password".
Setup steps:
After opening the Word document, click [Restrict Editing] in the menu tab [Review] list;
After opening the [Restrict Editing] page, check [Allow only this type of editing in the document], and select [Do not allow any changes (read-only)] in the list below, and then click [Yes, start mandatory protection] 】;
After the [Start Forced Protection] dialog box pops up, enter the password you want to set in the password field, and then click [OK] to set it.
After the setting is completed, the Word document will be locked and cannot be edited or modified. You can see that the relevant options are also gray and cannot be clicked.
Cancellation steps:
If you need to edit the document later, you need to lift the restrictions, or if you no longer need the restriction protection, you also need to lift the restrictions.
First, click [Restrict Editing] in the [Review] list of the menu tab. After the [Restrict Editing] interface appears, click [Stop Protection] below. Then a dialog box will pop up. Enter the originally set password in the dialog box. , and then click [OK] to remove the "restrictions" of the Word document.
It should be noted that after setting a "restriction password" on a Word document, remember to remember it, because as can be seen from the above operations, the document cannot be edited or modified without a password.
What should I do if I accidentally forget it? In this case, we need the help of other tools.
The above is the detailed content of Two methods to prohibit modification of Word documents. For more information, please follow other related articles on the PHP Chinese website!