You may have sensitive files such as documents, photos, videos, voice memos that you want to keep private from friends and family (if they ever use your Mac). Fortunately, it is easy to put a password in a folder to protect it from others. So without further ado, let’s get to the steps and show you how to encrypt and password protect a folder on your Mac.
How can I password protect a folder on my Mac?
- Open Disk Utility. To do this, open Finder → Programs → Tools → Disk Utility. Or press Command + space to open Spotlight Search and enter the name of this app.
- Click on the top menu bar File → New picture → Image from folder.
- Now select the desired folder you want to lock and click Select.
- Optional: For ‘Save As:’ continue with the same name, or you can also change it. Click on ‘Where:’ and select the desired location to save the disk image. You can move it later too.
- Important: For ‘Encryption:’ select 128-bit AES encryption (recommended). The second option here (256-bit) is slower. Please enter the desired password, enter it to confirm, and finally click Select.
- Important: Click on ‘Image Format:’ and select Read Write.
- Finally, click Save.
You have created a disk image (.dmg file) that is password protected. Let me now show you how to use it.
How to view and re-lock password protected folder on Mac
- Find .dmg disk file.
- Double-click to open it.
- You will be asked to enter the password. Enter the same password you used while creating the disk image and click OK. (Note: Do not select the “Remember password in my keychain” check box. Doing so may ruin the purpose. The saved password is filled in automatically if someone has the Mac or knows the password.)
- After entering the password, you will see a disk image on the desktop. It looks like an external pen drive. Double-click to open it, and you will see its contents.
- Important: Now delete the original folder so that its contents are removed from the Mac and only available inside this password-protected disk image.
- To re-lock the protected folder, right-click and select Release “Folder Name”.
- To reopen it, follow the same process from step 1.
- This disk image will have almost the same capacity as the size of the original folder. You can freely delete existing content in it and replace it with other content.
- Do not delete this .dmg file. If you do, everything will be lost.
- To permanently remove the locked folder, open Disk Utility, → select the disk image from the left sidebar, → right-click on it and select ‘Delete APFS Volume.’
How to quickly, securely and freely lock a password folder on your Mac. I hope this guide was helpful and you learned something new.
You can also use third-party apps like Encrypto to encrypt and set passwords on individual files and folders.
do you want to know more? Learn how to password protect PDF files and lock notes on Mac.
Finally, here is an extra tip for you. If you do not want the folder to appear in Spotlight Search, add .noindex after the folder name.