Hoppa till huvudinnehåll

How to password protect a folder

11 min read

Feb 3, 2026

A remote worker adds password protection to a document before sharing with colleagues.

Quick answers—the best way to password protect a folder

If you’re trying to password protect a folder, the best method depends on what you’re actually trying to protect—and where that folder lives.

Here are the most reliable ways to password protect a folder, depending on your goal:

  • To protect a folder on your Windows PC—encrypt the folder (EFS) or encrypt the drive (BitLocker)
  • To protect a folder on your Mac—create an encrypted disk image (Disk Utility) or turn on FileVault
  • To send a folder as a single protected file—create an encrypted archive (for example, a ZIP with strong encryption settings)
  • To share a folder online with a password and keep control—upload the folder to Dropbox and use shared link settings like passwords and expirations

The key is choosing the method that fits your situation. Local encryption protects files on your device, encrypted archives can protect files in transit, and password protected link sharing gives you ongoing control—so you can manage access, update permissions, or turn it off entirely.

What does password protecting a folder actually mean?

When people say they want to password protect a folder, it usually means they don’t want anyone else opening it. That can mean a few things depending on what you’re trying to prevent.

A “password protected folder” usually refers to one of these three things:

  1. Permissions—who can open it on a device: In this case, you can restrict access to a folder by user account. This is useful on shared computers, but it’s not the same as encryption.
  2. Encryption—making the data unreadable without the right key: Encryption is what most people want. If someone copies the folder, encryption helps make sure they can’t open it.
  3. Password protected sharing—controlling access when you send or share: When you share files, the best protection is a password on the shared link with other settings like expiration dates.

If your main goal is secure sharing, jumping straight to folder encryption can be more work than you need. In many cases, you’ll get better day-to-day control by using link-level protections.

How to choose the right method—based on what you’re trying to do

It’s easy to pick the right approach without slowing down. Use this quick reference to find the right solution for you:

Goal: Keep a folder private on your own computer

  • Solution: Folder/drive encryption (Windows EFS/BitLocker, Mac FileVault)
  • Pros: Strong protection at rest
  • Watch-outs: Doesn’t automatically help when sharing online

Goal: Send a folder as one file

  • Solution: Encrypted archive (ZIP) or encrypted disk image
  • Pros: Easy to upload/email as one item
  • Watch-outs: Not all ZIP encryption is strong; you must share the password safely

Goal: Share online and keep control

  • Solution: Dropbox shared links with passwords and expiration dates
  • Pros: Easier sharing, revocable access, fewer “where’s the latest file?” issues
  • Watch-outs: Some link controls depend on plan; passwords should be shared separately

If you use the above as a guide, you’ll easily find the right method. Let’s talk about how to use them during your workday.

How to password protect a folder on Windows

Windows doesn’t offer a single method to set a password on a folder in every edition. Instead, the most common approaches are encryption or creating an encrypted archive.

Option 1: Encrypt the folder using EFS

EFS (Encrypting File System) encrypts files and folders on an NTFS drive. It’s tied to your Windows user account, not a password you hand out. Here’s how to do it:

  1. Find the folder in File Explorer.
  2. Right-click the folder and select Properties.
  3. Select Advanced…
  4. Check Encrypt contents to secure data.
  5. Select OK, then Apply.
  6. Choose whether to encrypt just the folder or the folder plus subfolders and files.

Important caveats and limitations:

  • EFS helps protect data on that PC, but it’s not designed for sending a folder to someone with a password.
  • You should back up your encryption key or certificate if Windows prompts you. Losing access to the key can mean losing access to the files.

Option 2: Create an encrypted ZIP—good for sending

If your goal is to send a folder to someone, creating an encrypted archive is often simpler. Here’s the basic process, which involves finding a good zipping tool:

  1. Install a reputable archive tool that supports strong encryption settings.
  2. Right-click your folder and choose the archive option.
  3. Set a password and select a strong encryption method—if offered.
  4. Enable “encrypt file names”, where available, to reduce folder information leakage.

Important caveats and limitations:

  • As a best practice, you should send the password through a separate channel. For example, text the password but email the ZIP.
  • This option typically involves installing some separate software (depending on the version of Windows you’re using), so make sure you research reputable tools.

Option 3: Encrypt your drive with BitLocker or use an encrypted container

Sometimes your biggest risk is someone walking off with your laptop. If you’re mainly trying to protect data from device loss or theft, full-drive encryption or encrypted containers can add a powerful layer of protection. On Windows, your options are

  • BitLocker, which is built into Windows and can encrypt the entire drive—not just one folder
  • Other encrypted container tools, which create a “vault” file you mount when you need access

Both options are designed to protect data at rest. If someone steals your device or removes the hard drive, your files will remain unreadable without the proper credentials. This route is great for long-term storage, but it can be overkill if your main goal is sharing.

How to password protect a folder on Mac

On Mac, password protecting a folder usually means creating an encrypted disk image or using full-disk encryption. Here are a few quick ways to do it:

Option 1: Create an encrypted disk image—best built-in option for a folder

A encrypted disk image is like a locked box you can open with a password. Here’s how to make one on a Mac:

  1. Open Disk Utility.
  2. Choose File.
  3. Select New Image.
  4. Click Image from Folder—or create a new blank image, depending on your macOS version.
  5. Select the folder you want to protect.
  6. Choose an encryption option and set a strong password.
  7. Save the disk image.
  8. To access it later, double-click the image and enter the password to mount it.

This is one of the fastest and most dependable ways to protect a folder on macOS without the hassle of installing extra software.

Option 2: Turn on FileVault—protects everything on your Mac

If your primary concern is protecting data if your Mac is lost or stolen, turning on FileVault is a simple way to encrypt the whole drive. This won’t create a sharable folder password, but it’s an excellent baseline security measure.

Option 3: Use an encrypted archive tool—if you need a ZIP-like file

macOS doesn’t make it easy to create or share a strongly encrypted ZIP from Finder alone. If you need an encrypted archive specifically for sharing, use a reputable tool that clearly supports strong encryption.

How to password protect a folder on any device

If you’re trying to share files securely online, local folder encryption can become a headache as:

  • You still have to deliver the folder somehow
  • You can’t easily revoke access once it’s sent
  • People end up with multiple versions, forwarded copies, or stale files

A better way is to keep the folder in a safe place in the cloud and share access with flexible control options.

Dropbox lets you upload a folder and share it with someone using a link. You can also set up the link with a password or expiration date. This solves common team workflows like client handoffs, vendor collaboration, and sending large media files.

Share a folder with a password protected link in Dropbox

Here are the steps to password protect a shareable link in Dropbox:

  1. Upload your folder to Dropbox.
  2. Right click and select Copy link.
  3. Select Manage.
  4. Select Require password for the link and choose your credentials.
  5. Set an expiration date or adjust other access controls as needed.
  6. Share the link, and send the password separately.

This is often the simplest way to password protect a folder and securely share it online.

Share folders securely

You can add password protection to any file or folder in Dropbox and control exactly who gets access.

A screenshot of the Dropbox interface showing the password protection settings.

How to password protect large file transfers—including folders

If you’re sending large folders or files and you don’t want to grant ongoing access to a shared folder, Dropbox Transfer is built for one-way delivery.

With Transfer, you can package multiple files (including videos, design assets, and other cumbersome formats) into a single transfer link. When doing this, it’s also possible to:

  • Set a password
  • Set an expiration date
  • Track when it’s been accessed or downloaded

These features make Transfer a strong option for sending folders that are too big for email attachments, or for delivering final files to a client.

Can I share video files via password protected links?

Yes. Video files are often large, and they’re commonly shared through links rather than attachments. Two common approaches for sending long videos using Dropbox include:

  • Shared links to a file or folder—good for collaboration and ongoing access
  • Dropbox Transfer—good for delivering a versioned package, like a final cut or asset batch

If you’re sharing video with external stakeholders, password protection can help ensure only the intended audience can open the link.

Folder password security checklist—do this before you share

No matter which method you use, these steps help reduce risk:

  • Use a strong passphrase, not a short password—a few random words is easier to remember and harder to guess
  • Share the password separately from the folder or link—for example, send the link in email and the password in text
  • Set an expiration date when possible—especially for time-sensitive work
  • Limit access where possible—by specifying certain users
  • Revoke access when you’re done—disable the link or remove access for collaborators
  • Store passwords in a password manager—this will help to avoid reusing the same password

Learn more about how to choose an effective password, which can make it simpler to secure files, folders, and protect yourself generally online.

Protect your folder, then share it the smart way—with Dropbox

To password protect a folder, you can encrypt it locally or zip it as an encrypted archive. But if your goal is to share files securely, the most practical approach is often using password protected links.

Dropbox includes simple password protection for links and extensive sharing features, so you can manage access without constantly resending updated folders. Choose a plan and try it out today.

Frequently asked questions

Yes. One common method is to use password protected links, which are available in cloud sharing tools like Dropbox. This can be easier to manage than encrypting a folder locally, especially when you need to revoke access later.

Yes. For large sends, Dropbox Transfer can help you deliver large files or groups of files—and you can also add a password and expiration dates.

Yes. You can share long video files through password protected links in tools like Dropbox, either by sharing from a folder or by using a Transfer link for the delivery.

A password can be part of encryption, but they’re not identical:

  • Encryption scrambles data so it can’t be read without the key
  • Password protection usually refers to the “gate” that controls access—for example, a password to open an encrypted archive or a shared link

If you encrypt a folder or create a password protected archive, forgetting the password can mean losing access permanently. That’s why it’s best to store passwords in a password manager and back up your recovery keys.

Explore related resources

A remote worker adds password protection to a document before sharing with colleagues.

How to password protect a document before sharing

February 1, 2026

Learn how to password protect a document and share it securely online with Dropbox.

Secure document management four parts

How creative teams turn knowledge into momentum

November 1, 2025

Discover how AI-powered document management helps teams capture, curate, and circulate creative knowledge—based on insights from Gartner’s latest research.

Person using laptop at cafe, focused on screen, representing concept of data security and remote work context.

Data security explained: What is data security?

August 28, 2025

In today's digital world, data security is crucial for protecting sensitive information. Learn about different data security measures and why it's important for individuals and businesses alike.