Home  >  Article  >  Software Tutorial  >  How to prevent viewing the contents of a compressed package?

How to prevent viewing the contents of a compressed package?

WBOY
WBOYOriginal
2024-06-02 11:22:06928browse

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.

How to prevent viewing the contents of a compressed package?

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.

How to prevent viewing the contents of a compressed package?

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.

How to prevent viewing the contents of a compressed package?

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.

How to prevent viewing the contents of a compressed package?

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.

How to prevent viewing the contents of a compressed package?

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.

How to prevent viewing the contents of a compressed package?

Then wait for the password to be retrieved.

How to prevent viewing the contents of a compressed package?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn