How Do I Protect My Computer Folders?

SafeWise experts have years of firsthand experience testing the products we recommend. Learn how we test and review

Chances are you’ve taken measures to secure your computer from unauthorized access, but what about individual files and folders? When it comes to keeping your personal information private, it’s worth the extra effort to add password protection to computer folders.

How to password protect a folder

Thwart hackers with the best internet security tips!
Sign up for our free weekly newsletter.

By signing up, you agree to our Terms and Conditions and Privacy Policy.

screenshot of locking a folder

Screenshot: Alina Bradford, SafeWise

There’s more than one way to restrict access to important files and folders on your computer. The software or operating system you use will affect the options available to you to password protect folders.

1. Encrypt files and folders in Microsoft Windows 

You can protect files through encryption in most Windows versions.* Here’s how:

  1. Find and select the folder or file you want to encrypt.
  2. Right-click on the folder or file and select Properties.
  3. Open the General tab, and select the Advanced button.
  4. Check the box next to Encrypt contents to secure data.
  5. After checking the box, select Apply and click OK.

Now the files are in a protected folder. This process will also work on a zip file.

*Home editions of older Windows versions may not have the encryption feature available.

2. Password protect folders and files in Microsoft Windows

If you use Windows 10, you can create hidden folders that are password protected without needing special software. You can also edit the permissions settings of a folder to control access to the contents.

  1. Find and select the folder you want to protect.
  2. Right-click the folder and select Properties.
  3. Open the Security tab, and click on Edit.
  4. Select a user name or group and click Deny Access. After access is denied to a user or group, an administrative password will be required to access the folder.

3. Password protect folders and files on Mac

The process is similar if you use a Mac.

  1. Find and select the folder you want to protect.
  2. Right-click the folder and select Get Info.
  3. Open the Sharing & Permissions tab.
  4. Select a user name or group and select the access or “privilege” you want to allow (Read Only, Read & Write, or No Access).

4. Protect files on Google Drive

If you use Google Drive, you can add security and privacy to your documents.

  1. Find and select the document you want to protect.
  2. Click the Share button in the top right corner of the screen.
  3. Click the Advanced button in the bottom right corner of the pop-up box.
  4. Check the box next to Disable options to download, print, and copy for commenters and viewers.

Click the Save Changes button, then click Done.

5. Other tips to protect computer files and folders

Because it’s difficult to set up foolproof file protection from a determined hacker, it’s smart to use redundant security protocols and other privacy tools when possible beyond a locked folder with encrypted files.

  • Use a compression tool 

You can archive sensitive files, compress them, and encrypt the contents with a required password.

  • Install third-party software 

There are a number of programs available to help you encrypt data or password protect folders and files. Some, like 7-Zip, are free, while others like Folder Guard must be purchased.

  • Back up important files 

Even if something is protected with a password, it can still be deleted. Make sure to keep a backup of all your important files and folders.

  • Keep track of passwords 

Few things are worse than forgetting the password to an important document. Use a password manager to keep track of file and folder passwords. As an extra measure, make an unprotected archived copy of documents that you password protect. You can store them in a lockbox on a USB drive or external hard drive.

  • Use anti-malware 

Installing the extra protection of an antivirus or anti-malware program helps keep your whole system safe as well as individual files and folders.

  • Protect your smart home from hacking

Using strong passwords, choosing the right smart home tech, and more can prevent bad actors from accessing your files. Our guide on protecting your smart home will get you started.

For more on keeping your personal information safe, be sure to check out these tips to prevent identity theft and our picks for the best identity theft protection tools.


Compare the best internet security products

Brand
Best for
Starting price
Specs
Standout feature
Learn more
Best identity theft protection

$1 million recovery insurance

Two-factor authentication
Best VPNWorks on 6 devices 5,100 servers

60 countries

Best parental control Unlimited devicesEmail and social media monitoring, powerful parental controls
Best antivirus/malware software Protects up to 10 devices Includes VPN and password manager
Best password manager Unlimited devices with Premium plan VPN and dark web monitoring with Premium plan

Amazon.com price as of post date. Offers and availability may vary by location and are subject to change. Read full disclaimer.
*First year only. Regular price $99.48/yr.
**First year only. Regular price $59.99/yr.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply to the purchase of this product. Safewise.com utilizes paid Amazon links.

Rebecca Edwards
Written by
Rebecca Edwards
Rebecca is the lead safety reporter and in-house expert for SafeWise.com. She has been a journalist and blogger for over 25 years, with a focus on home and community safety for the past decade. Rebecca spends dozens of hours every month poring over crime and safety reports and spotting trends. Her expertise is sought after by publications, broadcast journalists, non-profit organizations, podcasts, and more. You can find her expert advice and analysis in places like NPR, TechCrunch, The Washington Post, The Chicago Tribune, The Miami Herald, HGTV, MSN, Reader's Digest, Real Simple, and an ever-growing library of podcast, radio and TV clips in the US and abroad.

Recent Articles

woman adjusting thermostat in bright home
The Best Home Security Systems of 2024
After thousands of hours of tests and research, we picked Vivint and SimpliSafe as the...
older-hispanic-couple-hiking
The Best Fall Detection Devices
Find the best medical alert systems with fall detection. Compare equipment, price, accuracy, customer reviews,...
medical alert products on an illustrated background
Best Medical Alert Systems
See which medical alert system is the best to keep you and your loved one...
Man and woman couple wife husband set up surveillance security camera
Best Apartment Security Systems
These renter-friendly apartment security systems help keep you safe and require less commitment than your...