php editor Baicao teaches you how to use WinRAR to set and cancel passwords for compressed files. In our daily work, we often need to compress files and set password protection to ensure file security. As a commonly used compression tool, WinRAR provides the function of setting and canceling passwords, making our files more secure and reliable. Through simple operations, you can easily protect files, and you can also cancel the password at any time to facilitate file sharing and management.
Setting the password is also very simple, there are two ways.
You can choose to encrypt directly when compressing files, which can protect the security of the files. Select the files that need to be encrypted and add them to the compressed file via the options in the right-click menu.
.
2. After selection, in the new dialog box that pops up, confirm the format of the compressed package, then click [Set Password], enter the password in the password column, and then press [OK] to set the password for opening the compressed package. It's set.
.
3. For a compressed package with a password set, as long as you open any file inside, you need to enter the password first.
.
The second method is to set WinRAR to automatically encrypt, so that the opening password will be automatically set every time a file is compressed.
1. Open the WinRAR archive and click [Settings] in the list under [Options] on the upper toolbar.
.
2. In the new dialog box, select [Compression]-[Create Default Configuration].
.
3. Subsequently, the same dialog box as the first method will appear. Still select [Set Password] and press [OK].
.
4. Enter the password in the password field and click OK. The automatic encryption of the compressed package will be set.
.
If we don’t need this password later, we can still cancel it, so that we don’t have to enter the password every time we open the file inside.
However, WinRAR does not directly cancel the password option. You need to decompress the files in the compressed package and put them into a new file. No password will be set after subsequent compression.
The specific operations are as follows:
1. Open WinRAR, select [Extract to], in the new dialog box, select the new folder where the files will be stored after decompression, and then click [OK].
2. At this time, a new dialog box will appear, asking you to enter your password. This password is the originally set opening password. After entering it, click OK.
The files in the compressed package will be decompressed into a new folder, and the password will no longer exist. Just rezip the file and don't set a password.
If the compressed package is in Zip format, there is another way to delete the password.
1. Select the compressed package, right-click the mouse, and then select [Windows Explorer] in [Open with]
.
2. In the pop-up file, right-click the blank area, open the menu and select the [Delete Password] option.
.
3. Subsequently, you will be prompted that the file is protected and you need to enter a password. Enter the originally set password in the dialog box to clear the password.
.
However, no matter which method is used to clear the password, you need to enter the original password, otherwise you will not be able to proceed further.
If I forget my password, am I unable to cancel it? Yes, let alone canceling the password, even the files inside cannot be opened, because WinRAR does not have an option to retrieve the password.
In this case, we can use other tools, such as Pepsi Niu RAR or ZIP password recovery tool.
Сначала используйте инструмент для получения пароля, чтобы вы могли как открыть сжатый пакет, так и отменить исходный пароль сжатого пакета.
Действие со сжатыми файлами ZIP или RAR одинаково. Импортируйте сжатый файл в инструмент, затем выберите один из методов извлечения, нажмите [Пуск] и следуйте подсказкам.
Инструмент восстановления пароля Pepsi Niu RAR
Инструмент для восстановления пароля Pepsi Niu ZIP
Затем подождите, пока пароль будет получен.
The above is the detailed content of How to set and cancel passwords for compressed files using WinRAR. For more information, please follow other related articles on the PHP Chinese website!