With WinRAR we can add a password to an already compressed file without having to previously decompress it, regardless of the compression format used. To add a password to a file compressed with WinRAR, we must perform the steps that we show you below. First of all, we must open WinRAR and drag the compressed file to which we want to add the password to the application. Next, we go to the menu Tools and select the option convert files.
Next, a window will be displayed where we can select the file format that we want to use in the conversion. Since what we are interested in is adding a password, we go through all the options and click on Compression.
The window shown below is the same one that is shown when we want to create a compressed file. To add the password, click on Set password.
Finally we enter the password that we want to use, 2 times to confirm that we have entered it correctly and click on OK so that WinRAR adds the password as a protection measure to the file.
Compress files by adding a password
The process of creating a password protected archive is much simpler than adding a password to an already archived archive. The first thing we must do is click with the right mouse button on the folder or file that we want to compress and select the option Add to file. Next, we click on set password.
Next, we enter the password that we want to use and click on OK. Next, we will return to the WinRAR initial screen where we can format, create volumes, compression method and so on. To compress the file or folder with the password that we have entered, click on OK.
WinZIP
Despite the large number of options available on the market to work with compressed files, the guys at WinZIP offer us an application that we can try for free for 21 days, which is another limitation. After the 21-day trial, we will have to pay per box if we want to continue using the application. Like WinRAR, with WinZIP we can also add a password to the compressed files as well as to the new files that we create with the application.
Protect compressed files with a password
Unlike WinRAR, WinZIP does not allow us to add a password to files with a .rar extension, so we will have to previously unzip them and recompress them if we want to add a password. To add a password to a file already compressed in .ZIP format, the first thing to do is open the file from the application. Next, we go to the menu Tools and click on the icon Code.
In the next window, we must enter the password with which we want to protect access. Unlike WinRAR, WinZip forces us to use a password with at least 8 characters. Once we have entered the password, click on OK.
Next, the application shows us a window where it informs us that the files in that archive will be compressed along with the compression rate. Click on OK and we return to the main screen of the application.
For the changes to be stored in the file, we must go to the right side of the application and click on the Save As button. If we do not save the changes, the application will not apply the password to the file that we have entered.
Set a password when compressing files
The first thing we must do to compress a folder or file with WinZip is to open the application and drag the file or folder that we want to protect with a password. Automatically, the application will show us a window where WinZip informs us about the compression rate of the file and the resulting size. This window is for information only. Click on Accept.
In the next window, click on the Tools menu and then click on Code.
Next, we enter the password that we want to use, a password that must have at least 8 characters and click on OK.
Finally, from the application’s home screen, click Save As to compress the file and store it on our computer.
7zip
If we want to use an open source application without any type of limitation, the best solution that we currently have available on the market is 7Zip. Unlike WinRAR and WinZip, 7Zip does not allow us to add a password to a previously compressed file. The reason is very simple. WinRAR and WinZip do not really allow adding a password to a compressed file either, what they do is decompress the file to which we want to add a password and recompress it using the password that we have established, so if you are looking for this option in 7Zip do not you’ll find. What we can do is add a password to the files or folders that we compress with this application.
To protect the file that we are going to compress with a password, once we have opened the application and selected the file or folder that we want to protect, click on the Add button. In the window shown below, we go to the Encryption section and set the password with which we want to protect access to the file or folder. By default, the encryption type is AES-256, but we can use any other, although this is the most secure encryption of all, so it is not recommended to modify it.
To consider
The first thing to take into account when adding a password to a file or folder is that if we lose it, we will lose access to its content, unless we use applications that allow us to unlock access, applications that the vast majority are paid and, generally, are supported by dictionaries of already established words, so yes, in our case, we have used a non-generic password, and we can forget to recover access.
Another important point to consider is that when we protect a file, we are protecting access to the documents, not to the set of files that are inside. If we click on the compressed file and protected by a password, we will be able to access its content, unless we have also protected access to it. What if no one will be able to access the files without if they do not have the corresponding password.
Windows natively supports the .zip format, so you don’t need a file compression application to unzip it, even if it is password protected.