Skip to content

How to Password Lock Files in Google Drive?

Looking to Password Lock Google Drive Files. Here is a Complete Guide to Password Protect Google Drive Files on the Web Using these Simple Methods.
Password Protect Files on Google Drive

Google Drive offers several features for quick access and support. You can store videos, images, apps, zip files, docs other files in Google Drive without any complications. Many users look to lock the file uploaded to google drive, and when such files are shared with the end-user, they need to enter the password to access the file.

Technically speaking, GDrive offers a lock feature wherein you can restrict file access and share it only with known members, but it does not offer any kind of password protection. I myself needed an encryption lock feature and came across some of the best techniques I can apply. Here are the Best Methods to Password Encrypt Google Drive Files, Preferably Video, Image, App, Audio, App, Zip, or more.

How to Restrict File Access on Google Drive?

You can protect Google drive files from unwanted access by restricting with whom you share the file. You can use the context menu on Google Drive web to restrict the file and add ad only the email addresses of the people to whom you want to share the file on Google Drive.

  • Look for the file that you want to protect.
  • Right-click on the file and click on the Get link option.
  • Here make the link Restricted.
    Restricted Get Link
  • Enter the email address of the people with whom you want to share the file. For everyone else the file is restricted.
    Add People and Groups
  • You can restrict the files from downloading and protect your content.



  • You can even set the permission of the file as editor, viewer, or commentator.

1. Password Protect Files Before Uploading to Google Drive

It is the best method I found. You can Encrypt a file before uploading it to Google Drive, and when someone downloads the file, they need to enter the password to unlock the file. You can use powerful AES256 encryption to password-protect a file and upload it directly you Google Drive. The only catch here is the file needs to be compressed into a zip file, and then you can encrypt the zip. Here are the Steps in Detail;

  • Password Encrypt the File Using Windows or Mac PC – Complete Detailed Guide
  • If using Android, you can try apps like BI Archiver Zip to lock Zip files.
  • Upload the Encrypted Zip File to Google Drive.
  • Now, if someone downloads the Zip, they need to enter the password you have set.
  • Once the password is added, the file is unzipped to access the locked content.

I tried all the 3rd party tools and tricks to check if there is any loophole, and I found none. This is the best encryption method to lock and protect your Drive files.

2. Password Protect Files Using a Lock Tool

You can use a free 3rd party tool named Link Lock by Jacob Strieb on the Github repository to lock the Drive sharing link. The tool is free and ad-free, built for open-source use. Link Lock uses AES in GCM mode to securely encrypt passwords and PBKDF2 and salted SHA-256 (100,000 iterations) for secure key derivation. Encryption, decryption, and key derivation are all performed by the SubtleCrypto API.

  • Visit Link Lock Site.
  • Enter the GDrive Link.
  • Create and Confirm Password. Click Encrypt.
  • Copy the Encrypted Link.
  • Now one needs to enter the password to unlock the URL.

3. Password Protect Drive Files Using G-Forms

If you do not love to encrypt the file using any tool outside the Google environment, then you can use Google Forms to password lock the file. If you do not wish to convert the file to encrypted zip but still want to lock the file itself, then this method will come in handy. We will use Google Forms to create a password-protected form and add the GDrive sharing link inside the form. The file is unlocked if someone enters the right password. Here are the Simple Steps;

  1. Click on the New option in GDrive Desktop.
  2. Now open Google Forms, Blank Form.
  3. Google Forms page will open.
  4. Add any Title Name in place of ‘Untitled form.’ I added ‘BytesBin Lock‘ for the demo.
    Untitled Form
  5. Add Password Detail in ‘Untitled Question.’ I added ‘Enter Password to Unlock
    Add Password Detail in 'Untitled Question
  6. .’Change Multiple Choice Option to Short Answer.
  7. Now Turn on the Required Toggle.
    Turn ON Required Option
  8. Next to Required Toggle, you will see the 3 vertical Dots menu options; click on them.
  9. Here select Response validation.
    Response Validation
  10. Now more options will appear on the form.
  11. You can select Number as a Password, Text as a Password, or Regular expression for Password.
  12. I will go with Regular expression; this will allow me to create a complex alphanumeric password.
  13. Make sure to use the Contains as the option. This will ensure the file will be unlocked only when the exact password is entered.
  14. Set the password in the Pattern option.
  15. Now in custom error text, add a custom error message to display the wrong password. I used ‘Incorrect Password‘ as a custom error message.
    custom error text
  16. Click on the Gear Gear_ICon_Google_drive icon.
    Gear Icon Google Forms
  17. Here tap on the Presentation option.
    Click Presentation
  18. Now under the Confirmation message: enter the Google Drive Sharing URL and click Save.
    Add URL under Confirmation message and hit save
  19. Click on the Send button.
    Click Send
  20. You can now either share the file using Mail, copy the link or embed the link.
    Share the Protected URL
  21. That’s it! When someone opens the form, they need to enter the password.
  22. Entering the correct password will fetch you the GDrive URL.😀

Frequently Asked Questions (F.A.Q)

Can I Password Protect Files in Google Drive

Yes! you can password protect files in Google Drive using 3rd party tools, Google Forms, or Zip locker to lock Google Drive files.

Can I Share Locked Google Drive Files?

You can share password-locked files with others; either they should have access to the files or a passcode to unlock the protected file.

How do I share Google Drive Files Securely?

You can share the Drive files securely by restricting the access, changing the file permission to view-only if required, or locking the files.


With this Detailed Guide above, you can password encrypt your Google Drive Files like Videos, Images, Documents, PDFs, Apps, or more. You can either upload an encrypted file to Drive or lock the sharing URL with a passcode, whichever suits your requirement.

With this guide, you will learn;

  • How to Encrypt Google Drive Files?
  • How Password Protects Video File on Google Drive?
  • How Password Encrypt Apps on Google Drive?
  • How Password Protects Images and other Media on Google Drive?
  • How to Upload Encrypted Files to Google Drive?
  • How to Password Lock File Uploaded to Google Drive?

Leave a Reply

Your email address will not be published. Required fields are marked *