Even if only you use your Mac, it won't hurt to add additional protection to it. Perhaps in
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) On the menu bar, select File > New image > Disk image from folder.
2) Find and select the folder to which you want to set a password, and click Choose.
3) On the next window select location disk image folder, change its name and, if desired, add a tag.
four) Choose one of two options. Encryption. 128-bit encryption is slightly faster, but 256-bit more secure.
five) Now create and confirm your password for the folder. Make sure you remember this password, otherwise you may lose access to the folder.
6) Now select Image 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”.
7) Click Save. It will take a couple of minutes to save. After that click Is done.
eight) Find the location of the disk image folder and double click on it. It will have a DMG format.
9) Enter the password you set and click Ok. You can save this password in the Keychain, however this will remove all protection.
ten) After that you will see the mounted disk image of your folder. Double-click it to open and use as a regular folder.
After you finish using the folder, you need to protect it with a password again. Right click on it and select Extract "folder name".
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.