How to Password-Protect Folders on Mac

Folders can’t be directly encrypted in macOS, but you can put them in password-protected containers. This has the effect of protecting your folders and the files they contain with a password. You can password-protect folders on macOS using the built-in Disk Utility application or a third-party tool called Encrypto.

You can password-protect the contents of a folder by copying them to a password-protected disk image. This will create a new dmg file which will be password-protected. The original folder will remain untouched and can be deleted once the contents of the disk image are confirmed.

1. Open Disk Utility from Spotlight or “/Applications/Utilities/Disk Utility.app.”

2. Choose “File -> New Image -> New Image from Folder…” from the menu bar.

password-protect-folder-macos-disk-utility-choose-folder

3. Select the folder you want to password-protect from the pop-up file browser window.

4. In the “Encryption” menu, choose “128-bit AES Encryption” or “256-bit AES encryption.” The second choice is nominally more secure but takes longer to encrypt and decrypt. Both formats are sufficiently secure for protecting your data, so the faster 128-bit AES is typically recommended.

password-protect-folder-macos-disk-utility-select-encryption

5. Enter a password when prompted. This is the password you will enter to unlock the disk image. It should not be the same as your Mac password. Make sure it is sufficiently difficult to guess.

6. In the “Image Format” menu choose “read/write” to allow you to add files to the image. Otherwise, you will only be able to view the files on the image without updating them or adding new files to the image.

password-protect-folder-macos-disk-utility-select-read-writer

7. Click “Save” to create the encrypted disk image. This will start a short process in Disk Utility which will notify you when it is finished creating the disk image from your folder.

password-protect-folder-macos-disk-utility-encrypt-folder

8. Unless you select a different save location in the previous steps, the disk image will appear next to the folder you selected.

password-protect-folder-macos-disk-utility-result

This DMG file is not the same as your folder, but it is a copy of the folder’s contents in a disk image format. That disk image is protected by a password, requiring a password before it can be mounted and read. The original folder has been untouched and is not encrypted.

Open the disk image and enter your password to confirm you can access the image and that it contains all of the folder’s files. Once you’re sure everything worked smoothly, delete the unencrypted folder. This will leave only the encrypted DMG behind.

Encrypto is a third-party encryption tool available in the Mac App Store. It provides greater ease of use in encryption and decryption, based on a simple drag-and-drop procedure.

1. Install Encrypto from the Mac App Store.

2. Open Encrypto from the Applications folder.

3. Drag the folder you want to encrypt onto Encrypto’s window.

password-protect-folder-macos-encrypto-drag-folder

4. Enter the password you want to use to protect the folder. You can also provide an optional hint if you’re afraid of forgetting the password credentials.

password-protect-folder-macos-encrypto-choose-password

5. After you’ve typed in a sufficiently complex password, click “Encrypt” to encrypt the folder in an Encrypto archive.

6. When the encryption is finished, drag the resulting Encrypto archive to a safe location. You can also choose “Share File > Save As…” to save the Encrypto archive to another location.

password-protect-folder-macos-encrypto-save-file

7. To open the file, double-click the Encrypto archive. Enter your password, and click “Decrypt” to unlock the folder.

password-protect-folder-macos-encrypto-decrypt-file

Drag the decrypted folder to a save location.

The Disk Utility method of password-protecting a folder will work on any Mac, but it’s slightly clunky. Encrypto is much easier to use but creates proprietary Encrypto archives that might not be future-proof. Choose your method depending on your needs and security concerns.

Leave a Reply

Yeah! You've decided to leave a comment. That's fantastic! Check out our comment policy here. Let's have a personal and meaningful conversation.