Though Google Drive offers the option to restrict access to folders with the sharing option, it does not offer any dedicated folder lock for Google Drive. If you wish to encrypt any folder in Google Drive, three two possible methods;
- Upload Password Protected Folder to Google Drive.
- Password Protect Folder Link.
You can use any of these two methods to encrypt your GDrive folders based on your need. Let us look in detail on how you can password protect your Drive Folder;
1. Password Protect Folder before Uploading to Google Drive
If you want to protect the folder content even if someone has access to Google Drive Sharing Link. You can directly encrypt the folder and then upload it to Google Drive, and when someone downloads the folder, they need to enter the password to unlock the folder.
The only catch here is the folder needs to be compressed into a zip file, and then you can encrypt the zip and upload the zip to Drive. Here are the Simple Steps;
- You can either Password Encrypt the Folder Using Windows or Mac PC – Complete Detailed Guide
If using Android, you can try apps like BI Archiver Zip to lock the Zip folder. - Upload the Encrypted Zip to Google Drive.
- Now, if someone downloads the Zip, they need to enter the password you have set.
- Once the correct password is entered, the file is unzipped to access the folder 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 your Drive.
2. Password Protect a Folder Using a 3rd Party Tool
You can use a free 3rd party tool named Link Lock by Jacob Strieb. 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 Drive Folder Sharing Link.
- Create and Confirm Password. Click Encrypt.
- Copy the Encrypted Link.
- Now one needs to enter the password to unlock the Folder URL to access the content.
3. Lock others from Accessing the Drive Folder
You can protect the Google drive folder from unwanted access by restricting the file. You can use the context menu on Google Drive web to restrict the folder and add email addresses/people only with whom you want to share the file.
Only the person to whom you gave the access will be able to open the drive and access the content. If any other person or a wrong email ID is used to access the file, he/she will be shown a custom warning page stating that they do not have access to the file.
The following setting can even be applied if you already shared the folder link; the changes will take place instantly.
- Look for the file that you want to protect.
- Right-click on the folder and click on the Get link option.
- Here make the link Restricted.
- Enter the email address of the people with whom you want to share the file.
- You can restrict the folder from downloading and protect your content.
- You can even set the permission of the file as editor, viewer, or commentator.
That’s it with this inbuilt locker feature, you can protect the folder from unauthorized access even if he/she has access to the folder link.
4. Password Protect a Folder in Drive using G-Forms
If you do not trust any tool outside the Google environment to protect the folder, then you can use Google Forms to password lock. This method will lock the folder-sharing link. We will use Google Forms to create a password-protected form and add the GDrive sharing link inside the form. Here are the Simple Steps;
- Click on the New option in GDrive Desktop.
- Now open Google Forms, Blank Form.
- Google Forms page will open.
- Add any Title Name in place of ‘Untitled form.’ I added ‘BytesBin Lock‘ for the demo.
- Add Password Detail in ‘Untitled Question.’ I added ‘Enter Password to Unlock
- .’Change Multiple Choice Option to Short Answer.
- Now Turn on the Required Toggle.
- Next to Required Toggle, you will see the 3 vertical Dots menu options; click on them.
- Here select Response validation.
- Now more options will appear on the form.
- You can select Number as a Password, Text as a Password, or Regular expression for Password.
- I will go with Regular expression; this will allow me to create a complex alphanumeric password.
- Make sure to use the Contains as the option. This will ensure the file will be unlocked only when the exact password is entered.
- Set the password in the Pattern option.
- Now in custom error text, add a custom error message to display the wrong password. I used ‘Incorrect Password‘ as a custom error message.
- Click on the Gear icon.
- Here tap on the Presentation option.
- Now under the Confirmation message: enter the Google Drive Sharing Folder URL and click Save.
- Click on the Send button.
- You can now either share the file using Mail, copy the link or embed the link.
- That’s it! When someone opens the form, they need to enter the password.
- Entering the correct password will fetch you the GDrive URL.😀
Frequently Asked Questions (F.A.Q)
Can you Password Protect a Folder on Google Drive?
By default, there is no option to password lock folders in Drive, but you can use link lock, forms, or password lock zipped folder in Drive.
How to Make Google Drive Folder Private?
There is no private vault or hide feature, but you can lock the folder by zipping the folder and password lock the zipped folder.
How to Restrict Google Drive Folder Access?
You can restrict access to the Drive folder by making the files restricted and adding the email address with whom you want to share the folder.
Conclusion
With this Detailed Guide above, you can password encrypt your Google Drive Folder. You can either upload an encrypted folder 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 Folders?
- How to Password Protect Folder Before Uploading to Google Drive?
- How to Password Lock Folder Uploaded to Google Drive?