How to password protect a folder on Windows and MacOS

Keep your offline data even safer by password protecting it. Here's how

how to password protect folder passwordprotectfolder
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 fully 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 still have access, however.

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

Step 2: Click Advanced.

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

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. Your files are now password protected by your account.

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
Computing

The May 2019 update for Windows 10 is live. Here’s how to get your hands on it

Launched this week, Microsoft's May 2019 update for Windows 10 releases a slew of new features, primarily simple and powerful security tools, for home and enterprise users. You can get your hands on these tools by installing the new update…
Mobile

Learn how to boost your smartphone battery life with these tips

Our smartphones are an integral part of everyday life, but to keep them functioning at their best for the long haul, it's critical to preserve battery life. Here are some easy steps you can take every day to boost your phone's battery life.
Computing

Keep your kids safe online with these great parental control tools

The internet can be a dangerous place, especially for your loved ones. Check out our selection of the best free parental control software for Windows and MacOS, so you can monitor your child and block unsavory sites.
Home Theater

Plex is free and easy, and you'll wonder how you survived without it

If you want a Netflix-like experience for the media you already own, you need Plex. It's the free media center software that automatically catalogs and plays your movies, music, photos, and more, on your TV. Here's how to use it.
Computing

Here’s how to watch AMD reveal its new Ryzen chips at Computex

AMD will hold a pre-Computex keynote May 27 to announce its new line of 3rd-generation Ryzen processors and accompanying Radeon Navi graphics cards. Here's how to watch the keynote live wherever you are in the world.
Computing

Should you buy a MacBook Pro or a Razer Blade Stealth? We'll help you decide

Laptop head to heads are a great way to see which one might be the right one for you. Our latest sees the Razer Blade Stealth (2019) vs. MacBook Pro in a fight to see which one deserves to be your next laptop.
Computing

Microsoft might finally embrace USB-C on next-gen Surface Pro 7

USB-C could finally come to Microsoft's Surface Pro tablet. According to a Microsoft patent filing, the port was shown in an illustration, suggesting that the company is working to support this feature in the future.
Computing

AMD's latest Navi graphics cards are incoming. Here's what to expect

AMD's Navi graphics cards could be available as soon as July 2019 — as long as it's not delayed by stock problems. Billed as a successor to Polaris, Navi promises to deliver better performance to consoles like Sony's PlayStation 5.
Computing

Ryzen 3000 chips will pack a punch, and could launch as early as July

AMD's upcoming Ryzen 3000 generation of CPUs could be the most powerful processors we've ever seen, with higher core counts, greater clock speeds, and competitive pricing. Here's what we know so far.
Mobile

Want to watch Netflix in bed or browse the web? We have a tablet for everyone

There’s so much choice when shopping for a new tablet that it can be hard to pick the right one. From iPads to Android, these are our picks for the best tablets you can buy right now whatever your budget.
Deals

The best Amazon Prime Day 2019 deals: Everything you need to know

Amazon Prime Day 2019 is still a few months off, but it's never too early to start preparing. We've been taking a look at the best discounts from previous Prime Days to give you our predictions of what to expect this year.
Computing

Here’s how to watch the Nvidia Computex 2019 press conference

Here’s everything you need to know about Nvidia’s upcoming press conference at Computex 2019 in Taipei, Taiwan; including what to expect during the press conference and how and when to watch it.
Deals

Best Memorial Day sales 2019: Amazon, Best Buy, and Walmart deals

If you're looking to save big on some shiny new stuff for Memorial Day 2019, we've gathered everything you need to know into one place. Find out where to save the most money before the summer hits its stride.
Emerging Tech

Awesome Tech You Can’t Buy Yet: Tricked-out e-scooters and bike lights that lock

Check out our roundup of the best new crowdfunding projects and product announcements that hit the web this week. You may not be able to buy this stuff yet, but it's fun to gawk!