Guide

Password Protect a Google Drive Folder or File

Google Drive can't put a password on a folder. Here's the closest free fix, and when Drive's own sharing is the better choice.

  • Folders and files
  • No signup
  • Works on a phone
  • Free forever

Can you password-protect a Google Drive folder?

Not inside Google Drive. Drive's sharing settings let you add people by email address, or switch a folder or file to "Anyone with the link". There's no box for a password anywhere in between. That's the same for a single file as for a folder.

So you have three practical choices. You can put a password on the link you send (free, takes about a minute). You can tell Drive to let in only the people you name. Or you can lock the file itself before it goes into Drive. The rest of this page walks through each one, then helps you pick.

How to password-protect a Google Drive folder or file

You make a short zip1.io link that points to your Drive folder or file and needs a password. People who open it type the password, then land in Drive as usual.

  1. Copy the Drive share link. In Google Drive, right-click the folder or file and choose Share. Under "General access", pick Anyone with the link, then click Copy link and Done.
  2. Add a password on zip1.io. Open zip1.io and drop the link into the box. Click Advanced Options and type your password into the Password field, for example Preview@2026. It must be 8 characters or more and include a letter, a number, and an @ or a dot (.), with no two of those symbols in a row. If it doesn't fit, nothing is made and the form tells you why.
  3. Click Shorten, then share. Send the short link to the people who need it. Tell them the password some other way, like a text or a quick call, so one forwarded message doesn't give away both.

If you like, the same Advanced Options panel can also stop the link on a date (Expires at) or after a set number of opens (Max clicks). An open only counts once the right password goes in, so a chat app fetching a preview, or someone guessing wrong, doesn't use one up.

What the password covers. The password sits on the short link, not on your Drive folder. It only controls who gets sent on to Drive. It doesn't scramble your files, so it isn't end-to-end encryption. Because the folder is set to "Anyone with the link", anyone who gets hold of the Drive link itself can still open it without the password. Keep that link to yourself, and only ever send the short one. Files inside a shared folder follow the folder's setting, so once someone is in, they can copy the link to any file inside and pass it on.

When you set a password, we store it scrambled, not as readable text. The password is fixed once the link is made. If you want a different one, make a new short link and send that instead.

Or share only with specific people

If everyone you're sharing with has a Google account, Drive's own setting is the tighter choice. Nobody gets in without being on your list, whatever link they have.

  1. Right-click the folder or file and choose Share.
  2. Type the email addresses of the people who need it, and choose Viewer, Commenter or Editor.
  3. Under "General access", choose Restricted, then click Send or Done.

On an eligible work or school account, you can also set a date when someone's access ends. Some work and school accounts can invite people who don't have a Google account, too; they confirm with a code sent to their email. Whether you can depends on your organisation's settings. Google's help on sharing from Drive has the full steps.

The catch: anyone not on your list can't open it until you add them. It doesn't suit a class, a club or a big email group, where a password you hand out once is easier.

For really sensitive files: lock the file itself

For tax papers, signed contracts, medical letters and the like, put the password on the file rather than the link. Many PDF apps and file-compression apps can save a file or a zipped folder with a password. You upload that locked copy to Drive and share it as normal.

Now the file stays locked even if the Drive link spreads, because opening it still needs the password. The trade-offs: people have to download it and open it in an app that asks for the password. You also get no end date and no count of opens unless you send the Drive link through a zip1.io link as well.

Which option should I pick?

If you want… Pick Keep in mind
The easiest setup A zip1.io password link Anyone with the original Drive link can still open it
The most privacy Lock the file itself, and share it with Restricted access People need the file password and an app that opens it
It to work for people without a Google account A zip1.io password link (or a locked file) The Drive folder has to be set to "Anyone with the link"

You can mix them. A locked file behind a zip1.io link gets you a password on both the link and the file, plus an end date if you want one.

Why the Google Forms "password" trick doesn't work

Some older guides suggest making a Google Form that asks for a password and only shows the Drive link to people who type it correctly. It looks like protection, but the Drive link it shows is an ordinary "Anyone with the link" link. Anyone who gets past the form once can copy that link and send it on, and it opens for whoever has it, with no form in the way. Use one of the options above instead.

FAQ

  • Does this work for a whole Google Drive folder?

    Yes. Copy the folder's share link instead of a file's, and add the password on zip1.io the same way. After the password, people see the folder and everything in it.

  • Can I set this up from my phone?

    Yes. In the Google Drive app, open the folder or file's sharing options, change General access to Anyone with the link, and tap Copy link. Then open zip1.io in your phone's browser, paste the link, open Advanced Options, add the password and tap Shorten.

  • Can I see who opened it?

    Partly. zip1.io counts opens of the short link and shows them by country, browser, operating system and referring site, and the time of the last click. It doesn't show names or Google accounts. Anyone with the short link can see its stats. Visitor IP addresses are stored to count unique visitors. They are never shown on the stats page or included in the export. The same password is needed to open the link's stats page on zip1.io.

  • Does it cost anything?

    No. There's no charge and no sign-up on zip1.io, and nothing changes about your Google Drive plan.

  • What if someone forgets the password?

    Send it to them again. We can't look it up for you. If you've forgotten it yourself, make a new short link.

  • Can I password-protect a single Google Doc?

    Not inside Google Docs, which has no password setting either. You can put a zip1.io password on the link to the Doc, the same way as a folder. But anyone who has the Doc's own link, or has been given access in Drive, can open it without that password. To keep a Doc to certain people, set its General access to Restricted and share it by email.

Put a password on a Drive link

Free. No account. About a minute.