Different Ways To Password Protect Mac Folder

Do you want to Password Protect Mac Folder? Mac provides tons of features that can improve your privacy or security but password-protecting folders are not one of them. But, as it happens, there is more than one way to password protect a folder on Mac.

In this article, we mentioned 5 different ways to password-protect folders on Mac and then encrypt them as well. You can also use these techniques when you want some extra protection for your files from colleagues or even your partners. Some of these ways involve enterprise-level encryption. So, if you like to lock a folder on air even iMac, Macbook pro this article will help.

Different Ways To Password Protect Mac Folder:

PPF On Mac Via Disk Utility

PPF On Mac Via Disk Utility

Disk Utility is an in-built macOS application for managing or organizing drives, disks, and partitions. When it happens, it also allows you to create a password-protected folder on your Mac. It is not a folder, per se. But, you can also manage or organize all your files. Let’s take a look at the instructions now.

  • Initially, head over to Disk Utility app on Mac. You can just search through Spotlight or search it in the utility subfolder of apps.
  • Head over to File > New Image > Image from Folder. On the other hand, you can also hit Shift+Command+N
  • Now, you have to choose the folder that you like to password protect.
  • From the upcoming window, you have to choose some things like security or name type.
    • Specify the name for the password-protected folder
    • Provide some tags and choose the location where you like to store them
    • For encryption, select 128-bit AES Encryption and provide the password
    • For an Image Format, you need some options, like read/write, Compressed, hybrid image, and read-only. Select one of them.
    • Once you are done, tap the Save button.
  • Well, it depends on the folder size, the encryption process might take some time. After you receive the confirmation message, head over to the location where you like to save the picture.
  • Input the password and then tap Okay.
  • You can now view a virtual disk with the same name as the folder. Simply open it to view the files and then access them.
  • After the use, disconnect the drive to make sure that no one can access your folder.

Note: If you had chosen read or write for Image Format. Then you’ll be able to copy/paste files easily. But, it relies on what type of protected folder you like.

Also, you can count on this technique if you want something native. As you view, we don’t want any third-party app to protect folders on Mac via Disk Utility.

Also See: How To Password Protect Word Document 2010

Password-Protect Mac Folders Via Hider

If you like to password protect a folder in mac without any disk utility, then third-party apps are the best choice.

Macpaw Hider is a popular or top-rated app to turn on password protection for files or folders. However, it works like having a secure space in your Mac. Hider is a paid software but it can also offer a free trial for 15 days.

You can use this method to encrypt and password-protect files, folders, and secure notes. It also offers an impressive UI to make things amazing. When you successfully installed it, you can simply add whatever you like to protect into the Hider 2 UI. Also, it offers an option to hide the document/folder.

Whenever you close Hider 2, everything is protective or secure. You need to input the password to access Encrypted folder contents. Hider 2 is a premium software also it comes at $19.95 for one license.

You can simply try this technique if you want an accessible way to password-protect folders or files. You can’t use this technique if you like to send/transfer the locked content.

Encrypt Files Through Terminal, Using OpenSSL


Here is another built-into-Mac technique to protect your files or folders. You should use this method if you like to add files to an encrypted folder on Mac. We are going to do this through Terminal and it offers some code. If you would, let’s take a look at the instructions.

  • Head over to Terminal on your Mac and input the following command.
    • openssl aes-256-cbc -in ~/Desktop/Photo.jpg -out ~/Desktop/Encrypted.file
    • Now, in this command,
    • openssl and aes-256-cbc designate the encryption type.
    • –in ~/Desktop/Photo.jpg appoint the file you like to encrypt and its location
    • -out ~/Desktop/Encrypted.file designates the location where the encrypted file would be stored
  • Now input the command and provide the encryption password when asked. Then confirm the password to continue.
  • Now, you can also view the Encrypted.file docs on your Desktop PC. It depends on your requirement, you can aslo modify the directory and encryption methods

Note: If you want to decrypt the same file, input the following command

openssl aes-256-cbc –in -d ~/Desktop/Encrypted.file -out ~/Desktop/Photo.jpg

Make sure you can modify the file-names and add ‘-d’ without any quotes.

As we said earlier, you can also use this technique to encrypt and protect files. Well, everything can be managed through Terminal, you don’t want any third-party software. But the limitation is, you can’t do it for the folder.

Also See: Different Ways To Use Windows Without User Password

Use Concealer to PPF Folders & Much More

Concealer is an advanced Mac app that allows you to encrypt and save files and folders. Also, you can take care of confidential docs such as Credit Card, Notes, and software licenses. These all are protected by one master password.

Also, Concealer lets you to set individual passwords for saved files as well. Just like we said earlier, also it uses 256-bit encryption. Once exit, everything is clean. Without using any master password, whatever you saved in Concealer will be inaccessible.

There are many other smart features that might interest you. But the point is that you can just encrypt or drag-n-drop files for the best security. Also, don’t try to share these files easily. Besides the Utility Disk or Terminal techniques, you must have a Concealer app for decryption or encryption.

Concealer for Mac is also available at a $19.99 price. However, there is also a free trial variant that lets you store a limited amount of data.

Use Compression:


Here is another way to protect files/folders through Terminal. However, we are going to compress the file or folder with a password. This way, the contents can’t be accessed without a password. But, as it’s a ZIP file, you can then send/transfer it Let’s have a look at the instructions.

  • Head over to the Terminal and bring it to where you’ve saved the file. In my case, I had my files on the Desktop PC.
    • cd Desktop
  • Now, when the confirmation, you have to input the following command.
    • zip -e photo.zip photo.jpg
  • So, it means the file Photo.jpg will also convert to a ZIP file known as photo.zip. You need to provide a strong password after the command. Repeat the password and you’re good to go.
  • Also, you can view the zipped file on your Desktop PC. Now, when anyone tries to open the ZIP they need a password to open a folder on Mac. You can also do one more thing: remove the original file, since the same is safe in one ZIP file.
  • As you can view, this technique works like a piece of cake. You don’t need to fret about anyone accessing the files, especially if you removed the originals. However, it works even if you move the ZIP file to somewhere else.

Pro Tip:

Want to secure some folders from displaying up through Spotlight? Here’s a method.

  • Simply add ‘.noindex’ after the folder name. When the folder name was Photos, then specify it Photos.noindex

The folder will not be displayed in Spotlight search anymore. You can simply keep it somewhere else and it’s a sort of safety.


So, these were some of the best methods to make a private folder on macOS. The first four techniques use higher levels of encryption but the last one is compression. Anyway, it’s sure that others can’t access your folders or files. If you ask us, Utility Disk is one of our favorite ones. You don’t want a third-party app, but you need to access a read/write folder. Which one do you think you’d select? Let us know your thoughts and suggestions in the comments section below!

Also Read:

Leave a Reply

Your email address will not be published. Required fields are marked *