Here’s how to password protect a folder on Windows and MacOS

how to password protect folder 37918549 l
weerapat/123RF
Everyone has their secrets. Whether you want to shield your Christmas present list from the prying eyes of nosy children, or merely keep your tax records hidden, limiting access to your digital data is understandable, and with a few steps, perfectly viable. In this guide, we’ll teach you how to password protect a folder, whether you’re running Windows or MacOS.

The only difficulty is that neither of these operating systems makes it as easy as it could be. Native password-protection is something that remains elusive in most standard builds, but with the right know-how, that’s not a problem. Whether you end up using third-party recommendations or a built-in utility, here’s how to protect your folders from prying eyes.

Note: If you ever need help remembering passwords, consider one of the best password managers.

Windows 10 Pro folder encryption

If you’re running Windows 10 Pro, there is a built-in protection system, though it’s not the most full-featured. Windows 10 Pro’s basic encryption offers file obfuscation that locks a file to your account. That way, if someone on another account or someone who copied your files away to another PC, tried to access your content, they’d need to know your account password — which better not be one of the most common passwords.

Anyone using your PC and account would have full access.

Step 1: Right-click on your chosen file and select “Properties” from the drop-down menu.

how to password protect folder passwordprotectinwindows01

Step 2: Click “Advanced”.

how to password protect folder passwordprotectinwindows04

Step 3: Tick the box next to “Encrypt contents to secure data” and click “OK.”

how to password protect folder passwordprotectinwindows03

Step 4: Click “Apply” and when prompted, choose whether you want all folders within that directory to be encrypted, or merely the top-level one. When you’ve decided, click “OK.”

Depending on the size and contents of the folder, it may take a while to complete, but once it’s done, your data will be encrypted and protected from the prying eyes of anyone on another account or system. You can tell that it’s worked by the little padlock symbols now on each file within.

Password protecting Windows folders with 7Zip

While Windows 10 Pro might have some protections, most versions of Windows are utterly devoid of any folder-specific security. For most Windows users, adding a password to a folder requires a third-party archiving utility or some form of compression software. Options include 7-Zip, an open-source zip compression utility that’s readily available for free courtesy of Russian developer Igor Pavlov. It does a great job of password-protecting your more important data.

You’ll be required to decompress the folder before use, but that’s a small price to pay for security.

Step 1: Navigate to the 7-Zip download page and select the right download for you. Most users should opt for the “64-bit x64” Windows build. Once downloaded, install it as you would any other software and run it.

Step 2: Locate the folder you wish to password protect within the main 7-Zip interface and click the green addition sign in the upper-left corner of the application. Alternatively, drag and drop the folder anywhere within the main 7-Zip interface.

Zip open

Step 3: Ignoring the bulk of presets in the resulting pop-up window, select “zip from the drop-down menu directly beside the Archive Format option to ensure the folder remains compatible on computers without 7-Zip installed. Then, enter and re-enter your desired password for the folder in the text fields located on the right-hand side of the window. Click the “OK” button when finished and allow the utility to create a compressed, encrypted duplicate of the folder you wish to password protect.

Add Password Zip

Step 4: Once the password-protected zip file has been created, test it to make sure that it’s working correctly by trying to access any of the content held within. Once you know it’s properly protected, delete the original folder so it can no longer be accessed. There’s no need to have two instances of the same data, especially since the original folder will remain unprotected.

Password Protected Windows

Adding password protection to folders in MacOS

Like most versions of Windows, Apple’s MacOS lacks the native ability to add password protection to folders, but what you lose in convenience, you definitely gain in security — just don’t forget an antivirus. Adding a rudimentary password will require you to create an encrypted disk image through the operating system’s native “Disk Utility” — an application that comes pre-installed on nearly all Mac devices. Once created, you’ll be able to access the folder as a mounted virtual disk, which will allow you to edit, add, and delete content after entering a designated password. Any changes you make while the disk is mounted will automatically become both encrypted and password-protected upon dragging the disk to the Trash.

Step 1: Navigate to the MacOS Disk Utility within the Applications folder, or search for the application using “Spotlight.” When found, launch the program.

Open Disk Utility

Step 2: Click “File” in the application toolbar, select “New” from the resulting drop-down menu, followed by “Disk Image from Folder.” Then, locate the folder you wish to password protect by perusing the resulting folder, highlighting it, and clicking the “Image” button in the bottom-right corner of the window.

Alternatively, search for the folder using the search bar in the upper-right corner and click the “Image” button in the bottom-right corner of the window.

Create Image Disk Utility

Step 3: Once you’ve tagged and named the resulting files, select “read/write” from the drop-down menu directly right of the “Image Format” option, followed by “128-bit AES encryption from the drop-down menu directly right of the Encryption option. Afterward, choose your desired save location and click the “Save” button in the bottom-right corner when finished.

New Image Disk Image

Step 4: When prompted, enter and re-enter your desired password in the text fields in the middle of the pop-up window. Afterward, uncheck the box directly left of “Remember password in my keychain” and click the “OK” button in the bottom-right of the window.

Password Folder

Step 5: Once the password-protected disk image has been created, make sure it works as intended by trying to access its content. Once it’s confirmed to be protected as intended, delete the original folder so it can no longer be accessed.

Protected Disk

Update: Added Windows 10 Pro encryption and cleaned up the general wording.

Photography

Tight on space? Here’s how to transfer photos from an iPhone to a computer

Never lose any of your cherished selfies or family vacation photos from your iPhone again by learning how to transfer photos from your iPhone to a computer, whether you want to use a cable or wireless transfer.
Mobile

Forgot your Android password or PIN? Here’s what you need to do

It’s a horrible feeling when you forget your Android password, PIN, or pattern and can’t access your smartphone. Thankfully, there are some things you can do to gain access to your device. Find out what your options are right here.
Computing

Is your PC grinding to a halt? Here are a few ways to speed it up

Unlike fine wine and good cheese, your computer doesn't get better with age. Fortunately, these 10 tips will show how to speed up Windows, regardless of which version of Microsoft's popular OS you're currently running.
Computing

Calibrate your display to get it looking just the way you like it

Want to see images the way they're intended to be seen? Here is our quick guide on how to calibrate your monitor using your operating system or another tool, to make what's on the screen look as good as it can.
Computing

DLSS is finally arriving in games, but how does Nvidia's super-sampling actually work?

Nvidia's new DLSS technology is exciting, but what is it and how does it work? It's not quite anti-aliasing and it's not quite super sampling. It's a little bit of both and the end results can be impressive.
Computing

A new Mac Pro is supposedly coming in 2019, but what will it be like?

Our Mac Pro 2019 rumor roundup covers all the top news, leaks, and rumors about the new Mac Pro set to be announced sometime in 2019. Here's what Apple has said, what the experts think, and what's likely to show up with the new Mac Pro.
Computing

Looking for a new laptop? These 5 notebooks are on sale through Presidents’ Day

If you're ready to ditch your aging notebook, you can score some fantastic Presidents' Day savings right now on Microsoft's Surface Pro 6, Dell's XPS 13, HP's Spectre x360, Lenovo's Yoga C930, and Dell's G5 15 Gaming laptops.
Gaming

Take to the virtual skies with these free flight simulators

You don't have to spend the entirety of your paycheck to become a virtual ace, at least when it comes to flight simulation. Our list of the best free flight simulators will let you unleash your inner Maverick.
Gaming

Wage war on a budget with these fun and free first-person shooters

We all know about Halo and Call of Duty by now, but what about quality titles that won't cost you upward of $60? Check out our picks for the best free first-person shooter games from Paladins to Quake Champions.
Computing

Enjoy Windows on a Chromebook with these great tips and tricks

If you want to push the functionality of your new Chromebook to another level, and Linux isn't really your deal, you can try installing Windows on a Chromebook. Here's how to do so in case you're looking to nab some Windows-only software.
Computing

Switch your WMA files for MP3s with our quick conversion tips

The WMA codec may be great when it comes to multi-channel surround sound, but unfortunately, it falters in terms of compatibility. Check out our guide on how to convert WMA files to MP3 via web-based or desktop methods.
Virtual Reality

Getting into VR is spendy. Which headset is truly worth your hard-earned cash?

Virtual reality has finally gone mainstream, but how do you find the best VR headset for you? Check out a few of our favorites, whether you want the best of the best or a budget alternative for your mobile device.
Computing

These Windows 10 keyboard shortcuts will take your skills to a new level

Windows 10 has many new features, and they come flanked with useful new keyboard shortcuts. Check out some of the new Windows 10 keyboard shortcuts to improve your user experience and save more time!
Computing

What is Wi-Fi 6? Here's a look at the next evolution of the wireless standard

We're exploring the new naming convention for wireless standards, how it affects the devices you buy, and what the upcoming Wi-Fi generation is changing for the better.