How to set a folder password in macOS

Even if you're the only one who uses your Mac, it doesn't hurt to add extra protection to it.Perhaps in the

Or maybe you're just giving your laptop to family and friends and don't want them to see anything else.

</ p>

Fortunately, folders on a Mac can be encrypted and password protected, and below we will tell you how to do it.

How to set a password for a folder

To put a password on a folder, you need to use Disk Utility and create a disk image of this folder. Open Disk Utility from the utility folder and follow the steps below.

one)From the menu bar, selectFile&gt;New image&gt;Disk image from folder.

&nbsp;

2)Find and select the folder you want to set a password for and clickChoose.

3)On the next windowselect locationdisk image of the folder, change its name and add a tag if desired.

four)Choose one of two optionsEncryption. 128-bit encryption is slightly faster, but 256-bit more secure.

&nbsp;

five)Now create and confirm your folder password. Make sure you remember this password, otherwise you may lose access to the folder.

&nbsp;

6)Now selectImage format. If you only need to view the folder, select “read only”, if you need to make changes to the folder, select “read and write”.

&nbsp;

7)ClickSave. It will take a couple of minutes to save. After that clickIs done.

&nbsp;

eight)Find the location of the folder's disk image and double-click on it. It will be in DMG format.

9)Enter the password you set and clickOk. You can save this password in the Keychain, however this will remove all protection.

&nbsp;

ten)After this, you will see the mounted disk image of your folder. Double-click it to open it and use it like a regular folder.

&nbsp;

Once you're done using the folder, you need to protect it with a password again. Right-click on it and selectExtract "folder name".

&nbsp;

To open the folder again, double-click the DMG file, enter the password, and that’s it!

You will notice that the original folder has remained untouched. You can move it or delete it altogether, because the protected folder will still remain.

If you simply close the disk image and not extract it, then the next time you open it you will not need a password. This step should not be skipped.