Security

How to Password Protect Folders and Individual Files on Mac

Data can have real value, and like anything valuable, sometimes it needs to be kept locked away — to stop other people looking at or stealing it. For example, if you have sensitive content or secret projects stored on your Mac, you’ll want to stop people from opening them.  

 

That’s especially true if you share your Mac with other people, but computers are also vulnerable to privacy breaches from outside forces. Thankfully, it’s easy to password protect files and folders on your Mac using built-in or third-party tools. And because you’ll encrypt the data at the same time, you’ll make it unreadable to anyone who doesn’t have your password.

 

Before we start 

 

Concerned about your privacy? Try MacKeeper. It includes a complete virtual private network (VPN) tool, which keeps your web traffic secret, while also hiding your location. That means no one, not even your internet provider, can spy on you. It also offers security, optimization, junk cleaning, and more.

How to password protect folders on your Mac

Password protecting Mac folders rather than individual files is useful for a couple of reasons. As well as letting you lock multiple files or folders at once, it means you can easily add and remove files from your password-protected folder at any time.  

Password protecting Mac files with built-in tools

Creating a password protected folder is easy using macOS’s built-in Disk Utility. It simply creates a .dmg archive file, using AES encryption, which you can only open with a password.

 

Here’s how to password protect folders with Disk Utility:

 

1. Open Disk Utility from Applications > Utilities > Disk Utility

Opening Disk Utility on Mac

2. From the menu bar, select File > New Image > Image from Folder  

Create new image from folder in macOS Disk Utility.

3. Now select the folder you want to password protect, and click Choose

Choose folder to encrypt in macOS Disk Utility.

4. If you want to, choose a name or location for your protected folder. Open the Encryption, dropdown menu, and make a choice (128-bit AES encryption should be enough), and click Save

Choosing encryption in macOS Disk Utility.

5. Enter a password, and click Choose when you’re done

6. Alternatively, click the key icon, and let macOS create a strong password for you. Again, click Choose when you’re finished

Letting macOS choose folder password in macOS Disk Utility.

7. Expand Image Format and choose read/write. This will let you add and remove content from your protected folder later

Choosing read/write in macOS Disk Utility.

8. Finally, click Save

Final settings for encrypted folder in macOS Disk Utility.

9. Wait for Disk Utility to finish encrypting your folder  

Creating folder disk image in macOS Disk Utility.

10. When it’s done, you’ll be left with a password protected disk image and the original folder. If you don’t need the old folder, you can delete it

Finished password protected folder in macOS Disk Utility.

11. To open the locked folder on your Mac, simply double-click the .dmg file to open it, then enter your password when requested. With the correct password, the disk image will mount, and you’ll be able to access the contents, including adding or removing files and folders

Enter password to open encrypted folder in macOS.

Password protecting Mac files with third-party tools

If you want more features, you might want to consider a third-party app to password-protect folders on your Mac. Another big drawback with the Disk Utility method is that anyone can find and even delete your password-protected folders. Third-party apps may help you to get around these limitations.

 

Check out these third-party apps if you want to lock folders on your Mac:

How to password protect individual files on Mac

Most of the time, it’s easier just to encrypt and lock Mac folders rather than trying to password-protect individual files. But if you only want to protect one or two files, it might make sense to do it this way instead.  

Password protecting files using built-in Mac tools

macOS doesn’t actually have any way to do this, but you can lock individual files using certain native apps, like Notes, Pages and Numbers.

 

Simply follow these steps:

  • In Pages, Numbers and Keynote, choose Files > Set Password from the menu bar. Enter a password, and click Set Password
Password protecting a file in Apple Pages.
  • In Notes, right-click on a note, then select Lock Note. Enter a password, and select Set Password  
Password protecting a file in Apple Notes.

Password protecting files with third-party tools

Similar to native apps, often the best way to password protect individual files is to use the apps they were created in.  

 

For example, you can password protect files in:

  • Microsoft Office
  • Open Office
  • LibreOffice

You can also encrypt and password protect files in Encrypto, but it just creates a locked version, leaving the old, unlocked version behind.  

Conclusion  

It’s useful to be able to password protect individual files in apps like Office, but most of the time, it’s easier and more convenient to lock whole folders on your Mac. That way, you can add and remove files from your protected archive whenever you want, and you only have to remember one password for everything in each locked folder.  

 

If you don’t need any special features, then Disk Utility will be just fine for most purposes. Third-party encryption tools are worth checking out, particularly as ones like Encrypto and VeraCrypt are available free of charge.  

 

Whatever you do, make sure to use strong passwords to protect your valuable data. After all, there’s no point in password protecting your Mac files and folders if your password is easy to crack.  

 

You can also protect your privacy further with MacKeeper. Its built-in VPN client will encrypt your web traffic and hide your location. It also has an ID Theft Guard feature, which alerts you if your website login details are stolen or uploaded to the web by hackers. Plus it offers all kinds of other features to keep your Mac in tip-top condition.

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

PC

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Contents

Want to protect your device?

Start Now

First time here?Get to know MacKeeper with our special $1 autumn deal!

  • Clean up your Mac's memory

  • Enjoy ultimate security with our antivirus & adware removal

  • Secure your passwords with 24/7 breach monitoring

icon

Great! MacKeeper downloaded.

Now let’s install it on your Mac.

Here’s your download. Just click it to get started!

1. Open

Click above to open the MacKeeper file from your Downloads

first install step

2. Install

Select Continue to begin the installation

second install step

3. Complete

Hit Install to complete the installation

third install step

4. Enjoy

MacKeeper is all set to optimize your Mac

fourth install step