Zip files are useful in quite a number of areas. You can use it to compress your files, split archives, for encryption, and lots more. ZIP files are commonly used to reduce the size of folders or files. This makes it easier to send them over the internet. Whatever your reason is for zipping a file, it is also important you secure their contents by adding passwords to them. This will greatly reduce the chance of an unauthorized party having access to its content.
How then do you password protect a zip file on MAC? Enter the following command on the terminal to encrypt the selected file: “zip -e archive_name target_folder” and “zip -er archive_name target_folder”. Afterward, the archive utility window will pop out and request that you enter a password. Enter your desired password and then click ok. You will be required to verify the password, type it again and click ok to close the window.
How Do You Secure a Zipped File On MAC?
The internet is open and anybody can have access to almost anything on the net, which does not leave out files you send over the net. So, it is essential you secure your zipped file to keep the content away from a third party. Adding passwords to your zipped file on a mac is quite easy.
Follow the steps highlighted below to keep your file secured:
- First, you select the folder or file you want to secure. Right-click on it and then select “compress” in order to Zip the file.
- Then using the “Finder”, go to “Utilities” and select “Terminal” from the folder. Alternatively, you can press the space and the command keys simultaneously to start the spotlights search. You then type in “Terminal” into the spotlight search on your Mac computer. This opens up the terminal window.
- Next, you enter the following command to encrypt the selected file:
“zip -e archive_name target_folder” and “zip -er archive_name target_folder”.
- Afterward, you will see a pop up that will prompt you to enter a password. Enter your desired password and click “ok”.
- You will be prompted to verify your password. Do so by entering your password again and click “ok”.
If you have correctly followed the steps highlighted above, your zipped file is now password protected. This implies that the contents on it can only be accessed using the password you just set. So, even if an unauthorized party come across your file, they won’t be able to access the content without the password.
How Do You Open a Password-Protected Zip File On MAC?
Now that you have added a password to your file, you might be wondering how then will you access the contents of your file. Well, accessing the content of an encrypted zip file is quite simple. You simply double click on the file and then it prompts you for the password. You then enter the password which you have set, and then you have access to the content.
If you send the file to someone else, the same method also applies irrespective of whether the person uses a windows system or a MAC. Once you have given the password to the person, he or she can have access to the content.
What To Do If I Don’t Remember My Password?
There are times we set a password and when the time comes to use it, we just can’t seem to remember what combinations of characters we used. If such happens to your password protected zipped file, you might be wondering if that means you will never be able to access the content of your file again. Don’t worry, just like most systems that use a password, there is always a backup solution for you, peradventure you forget your password.
In order to retrieve your password, follow the sequence of steps highlighted below:
- Launch the Terminal utility on your Mac, or alternatively search for it using the spotlight search if you don’t know where it is.
- Enter the following command: “unzip -P password (Drag the zip file) -d (Drag your destination folder)” in the Terminal utility.
- Then press “Enter”. The password for the selected file will be displayed. You can then use it to access the content of your file.