How to Password Protect a Zip File on Mac, MacBook With/Without Terminal

Last Updated on Jul 1, 2022

Want to password protect files or folder on Mac in Zip? Unfortunately, password protecting a Zip File on Mac is not as straightforward as you think; however, once you get to know the procedure, it will take few seconds to compress, and password protects a zip file on Mac. We’ll explain how to password protect a zip file on Mac using Terminal App or Without Terminal, as there is no native option available to zip and password protect file on MacBook, Mac.

we are happy to help you, submit this Form, if your solution is not covered in this article.

Whether it’s your private files, photos or videos, or some confidential data of your business that you couldn’t be leaked in any case, this password is protecting a zip file on Mac.

How to Password Protect a Zip File on Mac, MacBook

i hope this will work with all Apple’s Silicon M1-series, M1 Pro (MacBook Pro), M1 Max (MacBook Pro & Mac Studio), M1 ultra (Mac Studio), M2 chip of 2022 (MacBook Pro & MacBook Air) Or Intel chip Mac computer.

Step 1: Organize Files [Prepare Zip Folder]

We’ll be using the Terminal App of your macOS to password protect a Zip File. The process gets even simpler when the Files that you want to compress and password-protect are in array and in a single folder with a clear folder name. All you need to do is create a New Folder and store all the files in that folder, and then we’ll proceed with the Terminal command to password protect the zip file on Mac.

  1. Go to the Finder and Control+click in the Finder window. Select New Folder. or Right Click in Finder window > New Folder.
  2. Give a folder a single string name without space that will make it reliable for you to execute the Terminal command.
  3. And lastly, drop all the files and folders that you want to password-protect.

Step 2: Execute Terminal Command

Till now, you might be aware that Finder not having any native option to password protect the folder; the only way is to use the terminal and certain commands.

  1. Open Terminal. Press Command + Space Bar to launch Spotlight and search Terminal App.
  2. You need to change the directory where the Folder is located. Drag the folder to Terminal to copy the folder/Directory path. drag-folder-to-copy-root-directory-on-mac-terminalDon’t miss removing the folder name [SS folder on my screen] from the path. Enter the drive name followed by cd. Here’s an example of how you can change the directory. This is my directory: cd /Users/itechsoftteam/Documents/remove-folder-name-from-path
  3. Enter ls and hit the return key; this will bring the folders list in the Terminal window located in that directory.
  4. Type the following command to compress, and password protect the files and folder,
    • Zip -er [foldername.zip] [foldername]
    • So I run, Zip -er SS.zip SStype-zip-converting-path-with-folder-name
  5. Here’s how my command will look like:
  6. Press the return key.
  7. It’s time to enter the new password that you want to use with Folders or Files to protect.enter-password-protected-zip-folder-name-in-terminal
  8. Enter the password and then again enter the password to confirm.
  9. That’s It!

Step 3: Verify Files or Folders [How to Unzip folder on Mac]

If you’ve followed the process correctly, then by now, the File or Folder that you’ve password protected using the above steps will be locked and compressed. Also, you can use Pro Zip software that allows you to remove or unzip the password-protected zip file.

  1. Navigate to that location where the file/folder is stored, double-click on that file/folder. The next pop-up should ask you to enter a password; after entering the password, click OK.password-protected-zip-file-created-on-mac
  2. By entering the correct password, the file or folder will uncompress in the same location.use-zip-file-password-to-unzip-and-unlock

How to Password Protect a Zip File on Mac Without Terminal

Are you not comfortable with terminal command? Generally, None Tech people ignoring this way to remember the procedure and Terminal command. So, here’s the easy method to make Password protected zip file on Mac.

Use Disk Utility to Make Password Protect Folders in MacOS

  1. Open Disk Utility on Mac using Spotlight Search or From Launchpad.
  2. Now, From the top menu, File > New Image > Image From Folder.create-lock-folder-on-mac
  3. Browse the folder saved on your Mac or External Drive.select-locking-folder-on-mac
  4. Give Desired Secure folder name or dmg file name. Select Target saves location under where.give-protected-folder-name-and-save-location
  5. Choose Password Protected or Encryption techniques. 128 Bit AES Recommended, That’s much faster than 256 Bit. if you want more security then go with 256 Bit AES Encryption. select-encryption-technique-128-or-256-bit
  6. Enter New Password for lock folder.enter-protected-password-for-mac-folder
  7. Next, Select image format, Read/Write, Read Only, Compressed, Hybride or CD/DVD Master.select-image-format-on-mac-for-new-lock-folder
  8. Click on Save to Start Encryption folder and Locate the .dmg file.tap-on-done-to-save-lock-folder
  9. Double click on the .dmg file name and Your Mac will ask to enter a Mac login password to access it. protected-file-without-zip-file-on-mac
  10. That’s it. Once you use the Protected folder, Right-click on the folder and select the Eject option to hide.

Comment me for more help! on Zip and Unzip password removing tips and tricks.

We will be happy to hear your thoughts

Leave a reply

HOWTOISOLVE
Logo