Back to blog
How-To
6 min

How to Password Protect Google Drive Files and Folders

Google Drive doesn't support folder passwords natively. Learn five workarounds to protect your files, from share permissions to encrypted links.

LOCK.PUB
2026-03-06
How to Password Protect Google Drive Files and Folders

How to Password Protect Google Drive Files and Folders

If you have ever searched "how to set a password on a Google Drive folder," you already know the frustrating answer: you can't. Google Drive does not offer a native option to password protect files or folders. There is no setting buried in a menu, no hidden toggle. It simply does not exist.

This is a problem because Google Drive is where millions of people store tax returns, contracts, medical records, and business documents. The assumption is that everything in the cloud is secure. In reality, if someone gains access to your Google account or if you share a link too broadly, those files are completely exposed.

The good news is that several workarounds exist. Some are built into Google's ecosystem, others involve third-party tools, and one is so simple it takes about 30 seconds.

Method 1: Use Google Drive Share Permissions

Google Drive controls access through email-based permissions rather than passwords. This is the default security model, and when configured correctly, it is reasonably effective.

How to restrict access:

  1. Right-click the file or folder in Google Drive
  2. Click Share
  3. Under General access, change from "Anyone with the link" to Restricted
  4. Add specific email addresses of people who should have access
  5. Set permission levels: Viewer, Commenter, or Editor

Additional settings to consider:

  • Disable downloading, printing, and copying for Viewers (click the gear icon in the Share dialog)
  • Set an expiration date on access for external collaborators
  • Use Google Groups to manage team access at scale

Limitations: This is not true password protection. It relies on Google accounts, so anyone with access to an authorized email can open the files. There is no way to share with someone who does not have a Google account while maintaining restrictions.

Method 2: Encrypt Files Before Uploading

If you want actual encryption that requires a password to unlock, you need to encrypt the file before it reaches Google Drive.

Using 7-Zip (Windows, Free)

  1. Download 7-Zip
  2. Right-click the file or folder and select 7-Zip > Add to archive
  3. Set Encryption method to AES-256
  4. Enter a strong password
  5. Upload the resulting .7z file to Google Drive

Using Keka (Mac, Free)

  1. Download Keka
  2. Set a password in the app
  3. Drag and drop your files to create an encrypted archive
  4. Upload to Google Drive

Using VeraCrypt (Windows/Mac/Linux, Free)

For maximum security, VeraCrypt creates an encrypted container file that acts as a virtual drive.

  1. Download VeraCrypt
  2. Create a new encrypted volume (choose a reasonable size)
  3. Move your sensitive files into the mounted volume
  4. Unmount the volume and upload the container file to Google Drive

Advantages: AES-256 encryption is the same standard used by governments. Even if someone downloads the file from your Drive, they cannot open it without the password.

Disadvantage: Encrypted archives cannot be previewed, searched, or edited inside Google Drive. You must download, decrypt, edit, re-encrypt, and re-upload every time.

Method 3: Gmail Confidential Mode for Attachments

If you are sharing Google Drive files via email, Gmail's Confidential Mode adds a layer of protection.

  1. Compose a new email in Gmail
  2. Click the lock and clock icon at the bottom of the compose window
  3. Set an expiration date and optionally require an SMS passcode
  4. Attach your file or insert a Drive link
  5. Send the email

Recipients cannot forward, copy, print, or download the content (though screenshots remain possible). If you enable the SMS passcode option, the recipient must enter a code sent to their phone number.

Limitations: This protects the email, not the Google Drive file itself. If the file is also shared via a Drive link, Confidential Mode does not restrict access to the Drive version.

Method 4: Third-Party Encryption Tools

Several services integrate directly with Google Drive to add encryption.

Tool Encryption Free Tier Works With
Boxcryptor (discontinued, now part of Dropbox) AES-256 + RSA N/A Was cross-platform
Cryptomator AES-256 Yes (desktop) Windows, Mac, Linux, iOS, Android
rclone crypt AES-256 Yes Command line, all platforms

Cryptomator is the most user-friendly option. It creates an encrypted vault on your Google Drive. Files inside the vault are individually encrypted, and you access them through the Cryptomator app. It is open source and has been independently audited.

rclone crypt is powerful but requires comfort with the command line. It encrypts file names and contents and syncs automatically with Google Drive.

Method 5: Wrap Your Google Drive Link in a Password

Here is the simplest workaround when you want to share a Google Drive file with someone and require a password to access it.

Instead of sending the Google Drive link directly, wrap it in a password-protected link using a service like LOCK.PUB.

How it works:

  1. Set the Google Drive file's sharing to "Anyone with the link"
  2. Go to LOCK.PUB and create a new password-protected link
  3. Paste your Google Drive URL as the destination
  4. Set a password
  5. Share the LOCK.PUB link instead of the raw Google Drive link

The recipient enters the password on LOCK.PUB and gets redirected to the Google Drive file. Without the password, they cannot even see the Drive URL. You can also set the link to expire after a certain time or number of views.

This approach works particularly well when you need to share files through iMessage, Messenger, or any other channel. You can send the LOCK.PUB link in one message and the password through a separate channel.

Comparison of Methods

Method Ease of Use Security Level Cost Collaboration
Share permissions Easy Medium Free Full
Encrypt before upload (7-Zip) Moderate High Free None
Gmail Confidential Mode Easy Medium Free Limited
Cryptomator Moderate High Free (desktop) None
Password-protected link (LOCK.PUB) Very Easy Medium-High Free Full

Which Method Should You Choose?

  • For team collaboration: Use Google Drive share permissions with restricted access and expiration dates.
  • For archiving sensitive documents: Encrypt files with 7-Zip or Cryptomator before uploading.
  • For one-time sharing: Wrap the Google Drive link in a password-protected link. It takes 30 seconds and the recipient does not need any special software.
  • For regulatory compliance: Use Cryptomator or VeraCrypt for client-side encryption that meets HIPAA, GDPR, or SOC 2 requirements.

Stop Sending Naked Drive Links

Every Google Drive link you share without protection is one misconfigured permission away from being public. Pick the method that fits your situation, whether it is tightening share permissions, encrypting the file, or simply wrapping the link with a password. The effort is minimal. The consequences of not doing it can be significant.

Create a Password-Protected Link -->

Keywords

password protect Google Drive
Google Drive security
encrypt Google Drive
Google Drive folder password
secure cloud storage

Create your password-protected link now

Create password-protected links, secret memos, and encrypted chats for free.

Get Started Free
How to Password Protect Google Drive Files and Folders | LOCK.PUB Blog