Google Drive tasks · Sharing
Add a password and expiry to a shared Google Drive link
It is a reasonable thing to want: a shared link that asks for a password and stops working next Friday. Google Drive does half of that job and not the other half, and pretending otherwise leaves a sensitive file protected by nothing but a forwarded link. This guide says plainly which half exists, sets up the expiry and the tightest link access Drive offers, and gives the working alternative when a password genuinely matters.
The plain truth: Drive links have no password
Google Drive's sharing dialog offers no password field, and no setting adds one. A Drive link is protected only by who can open it: people you name, your organization, or anyone who has the link. Google's own sharing documentation, sharing and managing access to files and folders in Google Drive, lists exactly those choices and no password option. So the honest version of this job is in three parts: limit who the link works for, add an expiry where your account allows it, and — when a password genuinely matters — put the password on a protected file instead of on the link.
If a link is set to "Anyone with the link", the link itself is the only key, and links get forwarded. For anything sensitive, share with named people instead — their access is tied to their Google account, which is the closest thing Drive has to a password on a link.
Restrict the link to named people
- Select the file in Drive and click Share. Open the sharing dialog for the file or folder.
- Add the specific people by email address. Enter each person and set their role — Viewer for read-only handouts, Commenter or Editor only when they truly need it.
- Set General access to Restricted. Under General access, choose Restricted, so the link opens the file only for the people named above. Anyone else who gets the link reaches a request-access page, not the file.
- Send the link. Copy link and send it. It now works only for signed-in users you named.
Add an expiry date where your account offers it
Expiration is a per-person setting, and Google notes it is available for work and school accounts; a personal account may not show it. Where it appears, it works like this:
- Open the Share dialog again. The people you shared with are listed with their roles.
- Click the arrow beside a person's name and choose Add expiration. The option sits in the menu beside that person's role.
- Pick a date within one year and save. Access for that person ends on that date. For folders, expiration is available for the Viewer role.
- Repeat per person. Each person's access has its own expiry, so a reviewer who needs a week and a colleague who needs a month can be set differently.
- Tell recipients the date in your message. Drive does not announce the deadline for you. One line in the email — "access ends on the 14th" — is the expiry note that makes the date mean something.
When you truly need a password: protect the file, not the link
- Download the file and put it in a password-protected archive. Create a ZIP or encrypted copy of the document with a password set on the archive itself, using your computer's archive tool or a dedicated encryption tool. The password then belongs to the file, wherever it travels.
- Upload the protected file to Drive and share that. Share the archive under Restricted access, as above. Anyone who obtains it still needs the password to open what is inside.
- Send the password by a different channel. Never in the same message as the link, and never in the file name. A password sent alongside the link protects nothing; sent separately — a call, a text, a different app — it is a real second key.
- Say plainly in your message what you have done. For example: "The link opens a password-protected file; I will text you the password separately, and your access to the file ends on the 14th." That one sentence is the honest version of a "password-protected, expiring link".
End state
- General access is set to Restricted, and only the named people can open the file through the link.
- Each person who needs a deadline has an expiration date set, where the account offers it, and knows the date from your message.
- Nothing in the document claims the Drive link itself has a password — because it does not.
- If a password was required, the shared file is a password-protected archive and the password went by a separate channel.
When it goes wrong
- There is no Add expiration option beside anyone's name. Expiration is a work and school account feature in Drive sharing, and for folders it applies to Viewer access. On a personal account the fallback is manual: note the date, and remove access yourself when it passes.
- A recipient forwards the link and a stranger opens the file. General access was set to Anyone with the link. Change it to Restricted and name the recipients; the forwarded link then stops at a request-access page.
- Someone's access ended earlier than expected. Check for an expiration date set on that person in the Share dialog, and extend or remove it there if the deadline has moved.
- You set a password and the recipient cannot open the file. They have the link but the password protects the archive, not the link — confirm they received the password through the separate channel, and that they are opening the archive, not previewing it in Drive, which cannot ask for the archive password.
- Your admin has disabled outside sharing. Work and school accounts can be restricted by the organization. Share within the organization, or ask the admin — no link setting works around it.
Related document tasks
-
Add footnotes in Google Docs
Add footnotes in Google Docs: click where the note belongs, use Insert > Footnote or the keyboard shortcut, type the note, and edit, move or delete notes without breaking the numbering.
-
Stop viewers downloading or copying a shared Google Docs file
Stop viewers downloading or copying a shared Google Docs file: open the Share settings, turn off the download, print and copy option for viewers and commenters, and lock editors out of resharing.
-
Add a bibliography in Google Docs with the Citations tool
Add a bibliography in Google Docs with the Citations tool: pick MLA, APA or Chicago Author-Date, add each source once, cite it in the text with one click, then insert the bibliography — and update it when sources change.
-
Add page numbers to a Google Slides or Word handout printout
“Turn to page 4” only works if the paper in everyone's hands is numbered — and handouts are where numbering quietly goes missing, because a slide number and a handout page number are two different things.
Sources
- Google Support, Share files from Google Drive — the sharing choices (Restricted, anyone with the link, organization), setting roles, removing access, and adding an expiration date for a person.