Sharing Files Safely With Links
Learn how share links work, which settings to use for sensitive files, and how to find and shut off old links before they cause trouble.
Key takeaways
- An "anyone with the link" share lets whoever obtains the address open the file, with no proof of who they are.
- Sharing with named accounts gives you control and visibility that open links can't.
- Expiry dates, view-only access and passwords reduce the damage if a link spreads.
- Check what else is exposed, such as whole folders, comments, version history and photo location data.
- Review and revoke old shares regularly, because forgotten links are the usual weak spot.
To share a file safely with a link, give the narrowest access that gets the job done: invite specific people where you can, choose view-only unless editing is needed, set an expiry date, and remove the link once it has served its purpose. A link that works for anyone who holds it should be treated like a spare key you've handed out.
Options differ among services and plans, and menu names change, so look for these settings in the share dialog of the tool you use.
How a share link works
When you create a link, the service generates a long, random-looking token and stores a rule: whoever presents this token gets a certain level of access to a certain item. The token is the proof. Guessing a properly generated one is impractical. Obtaining one that has been forwarded, posted or logged is the realistic risk.
Links travel more than people expect. Recipients forward emails, paste addresses into group chats, sync browser history across devices and save them in documents that are shared in turn. Some email and chat tools automatically fetch links to build previews or scan them for threats.
Choose the right kind of access
| Share type | Who can open it | Good for | Main risk |
|---|---|---|---|
| Named people, signing in | Only invited accounts | Sensitive or ongoing work | Invitee's account gets compromised |
| People in your organization | Anyone with a work account | Internal reference material | Wider audience than intended |
| Anyone with the link | Whoever holds the address | Low-sensitivity, wide distribution | Uncontrolled forwarding |
| Anyone with link and password | Link holders who know the password | Outsiders without accounts | Password sent beside the link |
Then pick a permission level. View lets people read. Comment lets them annotate. Edit lets them change, and often delete or add content. Editors may also be able to share onward, so look for a setting that prevents that.
Settings worth using
Expiry date. The link stops working on its own, which covers the times you forget.
Password. Send it through a different channel from the link. If the link goes by email, give the password by phone or text.
Block download. Some services let viewers read without a download button. It slows casual copying only; anyone who can see content can photograph or retype it.
Notifications and access logs. Business plans often show who opened an item and when.
Disable resharing. Stops recipients from adding others.
Look at what you're really sharing
Before creating a link, check the scope.
- Sharing a folder usually shares everything in it now and everything added later.
- Documents may carry comments, suggestions, hidden sheets and earlier versions.
- Photos may include location and device details. A photo metadata remover can strip them from copies.
- File and folder names can reveal private information by themselves.
- Black rectangles drawn over text often leave the text underneath. Use a real redaction feature and verify the output.
When in doubt, export a clean copy into a new folder made for this recipient and share that.
Protect especially sensitive files
For identity documents, tax forms or medical records, ask first whether a secure portal run by the recipient exists. If you must use a share link, consider placing the file in an encrypted archive with a strong passphrase and sending the passphrase separately. Confirm that the recipient can open that format. End-to-end encrypted sharing services also exist; read how they handle keys, because in some designs part of the key travels in the link itself, which makes the full link just as sensitive.
You can generate a strong one-off passphrase with a password generator.
Sharing from work accounts
Work files carry extra obligations. Your organization may limit who you can share with, require that links expire or forbid moving documents to personal services. Follow those rules even when a personal link would be quicker, since files sent outside approved tools are hard to track, retain or withdraw.
If a warning appears when you add an outside address, read it and check the address letter by letter. Autocomplete can easily offer a similarly named person at another company. For ongoing work with an external partner, ask whether there's an approved shared space or guest account arrangement, which gives administrators a way to see and end access. When a setting blocks something legitimate, ask the people who manage the service for an approved route instead of improvising one.
It also helps to record the purpose of a share in the folder name or a short note, such as the project and an end date. Whoever reviews access later can then tell what is still needed without having to guess or to leave it open just in case.
Clean up old shares
Set a reminder every few months.
- Open the "shared" or "shared by me" view in each service.
- Remove open links you no longer need.
- Remove people who've left a project, team or household arrangement.
- Downgrade editors who only need to read.
- Check folders that have accumulated new files since you shared them.
Organizations can help by setting default expiry, defaulting new links to named people and restricting public sharing for certain folders. Include sharing in offboarding, since files owned by a departing person's account may vanish or stay exposed, depending on the setup.
When a link leaks
If a link reached the wrong people, revoke it immediately; creating a new link doesn't always disable the old one, so confirm. Then check access logs if available, and assume anything that could be viewed may have been copied. Warn people affected, and if personal data was involved in a workplace, tell whoever handles privacy incidents, because there may be legal notification duties.
Collecting files from other people
Sometimes you need files to come to you: applications, photos from an event, documents from a client. Don't share an editable folder with everyone, because contributors may then see, change or delete one another's submissions.
Look for a file request or upload-only link. It lets people add files without seeing what's already there. Set a deadline or turn it off once you have what you need, and state clearly what you want, in what format and by when.
Treat incoming files with care. Anyone with an upload link can send something you didn't ask for. Let your security software scan new files, be suspicious of programs, scripts and documents that ask you to enable macros, and check a file's real type if the name looks odd. If the submissions contain personal information, move them to a restricted folder and delete them when the purpose is over.
A worked example
Say you're organizing a reunion and need to share three things: a schedule, a guest list with addresses and a folder for photos.
The schedule is low risk, so a view-only link in the group chat works well. You can update the file and everyone sees the current version.
The guest list holds personal details. Share it with the two co-organizers by name, view or edit as their role needs, and don't paste a link into the chat at all.
For photos, create a fresh folder used for nothing else. An upload link lets relatives contribute. Afterward, close the uploads, remove anything people ask you to remove and share the finished album with a view link that expires after a few months. Remind contributors that others will be able to download what they see.
Six months later, a quick look at your shared items confirms the links are gone and the guest list is still limited to three people. The whole routine takes a few minutes and avoids the most common mistake, which is one open folder holding everything and staying open for years.
Receiving links safely
Fake "someone shared a document with you" messages are a common route to stolen passwords. Before clicking, ask whether you expected it. Check the sender's actual address and the link's real domain. If a page asks you to sign in again, close it and open the service from your own bookmark; the shared item should appear there if it's genuine. Be wary of downloads that want you to enable macros or run something. Email encryption explains why a message arriving securely says little about who sent it.
Alternatives to links
For a one-time handoff between nearby devices, a direct local transfer avoids the cloud. For ongoing family or team use, a shared folder with membership is easier to manage than dozens of links, as described in organizing cloud files for a household. And for background on how these services hold your data, see cloud storage explained.
Common questions
Can search engines find my shared link?
An unpublished random link isn't normally discoverable. If it gets posted on a public page, it can be found and followed like any other address.
Does revoking access delete copies people made?
No. Revoking stops future access through the service. Downloaded files, screenshots and copies in another account remain.
Is attaching a file safer than linking it?
An attachment creates copies in several mailboxes that you can't withdraw. A link to named people can be revoked, which usually makes it the better choice.