back to top

Get Exclusive 500+ iPhone Wallpapers

    spot_img

    How to password protect folders on Mac in 3 simple ways

    Key Takeaways

    • Encrypted folders can be useful to safeguard your crucial files, especially if you share your Mac with someone else.
    • You can use the Disk Utility or the Terminal to lock folders on your Mac.
    • If you are looking for a hassle-free method to password-protect folders on your Mac, you may use third-party apps like Encrypto or Folder Lock.

    Does the thought of someone accessing your private stuff scare you? If yes, learning how to password-protect folders on your Mac can be pretty helpful.

    Whether you’re safeguarding some confidential documents or those embarrassing vacation photos, this guide can help!

    1. Password protect folders using Disk Utility
    2. Password protect folders using Terminal
    3. Lock your folders with third-party tools on Mac

    1. Password protect folders using Disk Utility

    One of the easiest ways you can password-protect a folder on a Mac is by creating an encrypted disk image for the folder using Disk Utility.

    This tried and tested method lets you set a custom password and select a type of encryption for the locked folder for added security. Here’s how it works:

    1. Open the Disk Utility using the Launchpad or Spotlight.
      You can also find the Disk Utility in Finder → Applications → Utilities.
    2. Click File on the menu bar → Select New ImageImage from folder.

      go to file new image
    3. Select the folder you wish to lock with a password → Click Choose.

      select the folder and click choose
    4. Enter a name → Select a location where you want to save the folder.

      select file name and location
    5. Click the Encryption drop-down → Select an Encryption type.
      Apple recommended using 128-bit AES encryption as it’s faster.

      select encryption type
    6. Enter the password you want to use. Then, enter it again for verification.
      You may click the key icon to auto-generate a powerful password.

      enter a password
    7. Click the Image Format drop-down → Select read/write → Click Save.

      select the image format
    8. Wait until your Mac finishes creating a disk image. Then, click Done.

      click done

    Once you create a password-protected folder, it will show up as a .dmg disk image in the location where you saved it.

    You’ll have to enter a password to access the files saved in the disk image and eject it to lock the folder again.

    2. Password protect folders using Mac’s Terminal

    Yet another way you can lock folders on your Mac is via the Terminal.

    With this method, you can execute a simple command to create a password-protected zip file from a pre-existing folder. Here’s what you need to do:

    1. Open Terminal on your Mac using Launchpad or Spotlight search.
      You can also open Terminal from Finder → Applications → Utilities.
    2. Type zip -er output.zip input. Now, replace “input” with the path of the folder you want to lock.
      • To find the path in Finder, select the folder, right-click, and select Get info. Next to Where, you’ll find the path of the folder.
    3. Press return on the keyboard.
    4. Enter the password you want to use → Hit return.
      Remember, you’ll not be able to see the password being entered. So, be extra careful.
    5. Verify password → Then press return again.
      This will compress the files in the folder and create a locked .zip file.

      type the command and hit return

    Now, if you wish to find and open the locked zip folder on Mac, do the following:

    1. Open Finder → Press Shift + Command + H to locate the locked folder.

      command shift h keyboard shortcut
    2. Click output.zip → Enter the password → Click OK to unlock the folder.

      unlock the zip file

    3. Lock your folders with third-party tools on Mac

    There are several third-party apps like Encrypto and Folder Lock, which can be used to lock your folder with a password.

    These apps offer a hassle-free method to lock folders on your Mac if you’re not comfortable using Terminal commands or Disk Utility.

    Here’s how you can encrypt Mac folders with Encrypto:

    1. Download Encrypto from the App Store → Open Encrypto.

      get encrypto from the App Store
    2. Drag and drop the folder you want to lock into the app’s window.
    3. Type a password for the folder → Add a hint (optional) → Hit Encrypt.

      using encrypto
    4. Click Save as → Select a location to save the locked folder → Hit Save.

      save the locked folder
    5. To open a folder, click the .crypto file → Enter password → Hit Decrypt.

      unlock the encrypted folder

    Wrapping up…

    That’s pretty much it! By employing any of the three methods mentioned in this post, you can build an impenetrable wall around your essential data.

    If you were able to learn something new from this guide, do let us know which method you prefer to lock folders on your Mac in the comments section.

    Also read:

    🗣️ Our site is supported by our readers like you. When you purchase through our links, we earn a small commission. Read Disclaimer.

    spot_img

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here

    Related Articles