Home >Software Tutorial >Office Software >How to prevent viewing the contents of a compressed package?
When important files need to be compressed and saved, how to prevent others from easily viewing the contents of the compressed package? This question bothers many people. This article will introduce two effective methods to solve this problem and help you protect file privacy. PHP editor Baicao will analyze these two methods in detail in the following content, so stay tuned!
method 1:
The most common is to set an "open password" for the compressed package, so that the file content can only be viewed through the password.
You can use decompression software to set a password for the compressed package. Taking WinRAR as an example, when compressing a file, select [Set Password] in the [Compressed File Name and Parameters] dialog box, and after opening the [Enter Password] dialog box, Enter the password you want to set in the password field, click [OK] and enter the password again to set it.
After the setting is completed, when we open the compressed package, we can see what files are inside, but when we want to open the file, a dialog box will pop up, prompting that we need to enter a password to view the file.
Method 2:
Using "Method 1", although you can prohibit opening the files in the compressed package, you can still see the file names in the compressed package. If you want to prohibit seeing what is in the compressed package, you can use "Method 1" to prevent the files from being opened. , and then set the "Encrypted File Name".
Still taking the WinRAR software as an example, when setting the password, enter the password in the password field, add the check [Encrypt File Name], and then click [OK] to set it up.
After the setting is completed, when you click on the compressed package, the compressed package folder will not be opened to see the contents inside, but the [Enter Password] dialog box will pop up directly, which means you need to enter a password to view the file.
Cancellation method:
If you no longer need password protection in the future, that is, you do not want to have to enter a password every time you open the compressed package before opening the file, you can decompress the compressed package with the password and then recompress the compressed package without a password.
Or use decompression software with the "Clear Password" function. After selecting this function, enter the originally set password to cancel.
Of course, if you want to cancel the protection because you have forgotten the password, you cannot use the above method, because the decompression software cannot cancel the password if you forget the password.
If you want to solve this problem, you may wish to use the help of other tools.
For example, the PepsiNiu RAR Password Recovery Tool or PepsiNiu ZIP Password Recovery Tool used by the editor can help us retrieve the password of the compressed package.
RAR tool supports RAR format compressed packages, and ZIP tool supports ZIP and 7Z format compressed packages. Both tools provide 4 retrieval methods. You only need to import the compressed package into the tool, then select the appropriate method and operate according to the prompts. That’s it.
Then wait for the password to be retrieved.
The above is the detailed content of How to prevent viewing the contents of a compressed package?. For more information, please follow other related articles on the PHP Chinese website!