Google Drive does not have a built-in password protection feature for folders
Google Drive lets you control who can see and edit your files through sharing settings, but it does not have a native option to lock a folder with a password. If someone has access to your Google Drive account, they can see any folder you have created there. The sharing controls work by person or group, not by password.
This is different from password-protecting a folder on your computer's hard drive or creating an encrypted archive file. Google Drive's security model assumes that if you want to restrict access, you share the folder only with specific people by their email address, rather than using a password that multiple people might know or share.
Key Takeaways
- Google Drive folders cannot be locked with a password; access is controlled through sharing settings that let you choose specific people or groups.
- If you want password protection, you can read your folder as a ZIP file, encrypt it with a password on your computer, and then upload it back to Drive.
- Shared folders show up in the Drive of everyone you share them with, so restricting access means not sharing the folder at all or sharing it only with trusted people.
- Google Drive's sharing settings let you choose whether people can view, comment, or edit — but once someone has access, they can see everything in that folder.
How Google Drive sharing controls work instead
When you share a Google Drive folder, you choose specific people or groups and decide what they can do. You can give someone Viewer access (they can see files but not change them), Commenter access (they can view and leave comments), or Editor access (they can modify and delete files). You can also share a folder with a link that anyone with the link can open, though you can still restrict whether they can view, comment, or edit.
The key difference from password protection is that the person's identity matters, not a secret code. If you share a folder with your spouse's email address, only your spouse can access it from their Google account. If you share a folder with a link, anyone who has that link can open it — but you can turn off the link at any time, and you can see a list of who has accessed it.
If you want to keep a folder completely private, do not share it at all. Only you and anyone with access to your Google account can see it. If someone else logs into your Google account, they will see all your folders, so the real security depends on keeping your account password strong and not sharing your login credentials.
Creating a password-protected file to store in Google Drive
If you need actual password protection, the most practical approach is to create an encrypted file on your computer, then upload that file to Google Drive. This works by compressing your folder into a single file and protecting that file with a password.
On Windows, right-click the folder you want to protect, select Send to, then choose Compressed (zipped) folder. This creates a ZIP file. Then use a tool like 7-Zip (free, open-source) to create a password-protected archive: right-click the folder, select 7-Zip, then Add to archive, and enter a password in the dialog. On Mac, right-click the folder, select Compress, which creates a ZIP file — then use a tool like Keka or The Unarchiver to add password protection to that ZIP.
Once you have the password-protected file on your computer, drag it into Google Drive or use the New button and select File upload. Anyone who downloads the file will need the password to open it, even if they have access to your Google Drive folder. This method protects the contents of the folder, but Google Drive itself will still show the file to anyone you share the folder with.
Sharing a password-protected folder with others
If you create a password-protected archive and want to share it with someone, you need to send them both the file and the password through separate channels. Share the file through Google Drive by sharing the folder or sending them a link. Send the password through email, a phone call, or a messaging app — never in the same message as the file link.
This two-step process is more find than a single password because even if someone intercepts the file, they still need the password. It is also more cumbersome than straightforward sharing a Google Drive folder, so use it only when you need real encryption, not just access control.
Restricting access by not sharing at all
The simplest form of protection is to keep a folder private. If you create a folder in Google Drive and never share it, only you can see it. This works well for personal files, drafts, or anything you are not ready to show anyone else.
If you later want to share the folder with someone, you can right-click it, select Share, enter their email address, and choose their permission level. They will then see the folder in their own Google Drive under Shared with me. You can remove their access at any time by opening the sharing settings and clicking the X next to their name.
What happens if someone gains access to your Google account
If someone logs into your Google account without permission, they can see all your folders and files, including any you thought were private. Password protection on individual folders would not stop them because they are already inside your account. The real protection is a strong, unique password for your Google account and two-factor authentication enabled.
Two-factor authentication means Google asks for a second form of verification (usually a code from your phone) when someone tries to log in from a new device. You can turn this on in your Google Account settings under Security. This makes it much harder for someone to access your account even if they know your password.
Frequently Asked Questions
Can I password protect a Google Drive folder if I share it with someone?
No. Once you share a folder with someone, they can see everything in it based on their permission level. If you want password protection, create an encrypted ZIP file on your computer, upload that to Drive, and share the file instead of the folder. Send the password separately.
What if I want to share a folder but keep some files hidden?
Google Drive does not let you hide individual files within a shared folder. If you share a folder, everyone you share it with can see all the files in it (unless you restrict their permission to Viewer only, which still shows them the files). Move sensitive files to a different, unshared folder instead.
Is a Google Drive link with viewing-only access the same as password protection?
No. A view-only link lets anyone with the link see the folder, but they cannot edit it. It is not password-protected — if someone finds or guesses the link, they can open it. Password protection requires a secret code that is separate from the link itself.
Can I use Google Drive's built-in encryption for folders?
Google Drive encrypts all files in transit and at rest on Google's servers, but this is automatic and does not require a password from you. This protects your files from being read if someone intercepts them over the internet, but it does not prevent someone with access to your account from viewing them. For password protection, you need to encrypt the files yourself before uploading.
What is the easiest way to keep a folder private in Google Drive?
straightforward do not share it. Create the folder, add your files to it, and leave the sharing settings at the default (only you can access it). If you later want to share it with someone, use the Share button and add their email address. You can always remove their access later.