Why Do Shared Folder Links Keep Working After a VPN Disconnects?
A shared folder link works because of how the link is set up, not because your VPN is on. Here is how to review, expire and revoke links, and why disconnecting a VPN changes nothing about them.
11 min readUpdated Nov 22, 2026By XPASS Editorial Team

A common surprise goes like this. You share a folder of travel photos or a work document using a link, you check that you are connected to a VPN, and later you disconnect it. A few days after that someone tells you they opened the folder just fine, long after you thought the sharing was over. It feels as if the link should have stopped working when the VPN went off, or perhaps that the VPN was somehow protecting it. Neither is true, and understanding why is the first step to managing links well.
A share link is a form of access that lives on the storage service, tied to the link itself and to the sharing settings of the file. Your VPN is a tunnel for your own device's traffic. These are two different layers, and the second one has no say over the first. This guide explains the difference in plain language, shows how to review the links you have created, how to expire and revoke them, and what a VPN does and does not do in this picture. It connects with our guides on what a VPN cannot protect you from and on location details in shared documents.
How a share link actually grants access
When you press "get link" in a storage or document service, the service creates an address that includes a long, hard-to-guess token. The service then stores a rule next to your file: who may use that link and what they may do. The rule might be "anyone with the link can view", "anyone with the link can edit", "only people in my organisation", or "only these named people after they sign in".
When another person visits the address, their browser sends a request to the service. The service looks up the token, checks the rule, and decides whether to show the file. This is an ordinary web request of the kind described in HTTP semantics. Nothing in this decision involves your device or your network connection at the moment. Your laptop could be switched off, in a bag, or on a different continent, and the link would still work, because the answer comes from the service.
There are three consequences that matter.
- The link is the key. For an anyone-with-the-link setting, possession of the address is the permission. If the address is forwarded, copied into a chat, saved in a browser history or pasted into a public post, whoever sees it can use it.
- Access is checked by the service, not by you. The service does not ask whether you are online or which network you are using. It checks the rule you saved.
- Time does not end the link by itself. Unless you set an expiry or turn sharing off, many services keep a link valid indefinitely. Wording and defaults differ, so treat this as something to verify in your own tool rather than assume.

Where a VPN fits, and where it does not
A VPN encrypts the traffic between your device and the VPN server and sends it onward from there. It changes the public IP address that websites see for your own connection. It is useful on public Wi-Fi and for keeping your browsing from being read by the local network. Those are real benefits, and the same overview is just as clear about the limits.
For share links, the relevant limits are these.
- A VPN does not make a link private. The rule on the service decides.
- A VPN does not follow a link after you have sent it. The recipient opens it from their own device, with their own network and their own IP address.
- A VPN does not revoke anything. Turning it on or off does not change a single sharing setting.
- A VPN does not hide what is inside the file. If a folder contains documents, photos or names, the people with access can see them.
So when you disconnect a VPN, the only thing that changes is how your own traffic travels. The link keeps working for others because nothing about their access depended on you. If you did the sharing while connected, you did it over a protected connection, which is good for that moment, but the permission you created is separate and long-lived.
It is also worth noting that signing in to your storage account is a different matter. Your login session may behave in its own ways when your IP address changes, which we cover in what happens when your public IP changes mid-session. That is about your own session, not about the link recipients.
A plain example
Mina travels for two weeks and wants her sister to see the photos. On the second day she uploads a folder to her cloud storage, sets the link to "anyone with the link can view", and sends it in a family chat. She uses a VPN on the hotel Wi-Fi while uploading, which is a sensible choice on a shared network.
Three weeks later she is home, the VPN is off, and the trip is over. One of her cousins, who was in the chat, forwards the link to a friend. The friend opens it from their phone and sees every photo, including one with the hotel name on a key card. Mina never connected to anything during this. The folder was open because the setting said so.
If Mina had chosen named people only, the friend would have been asked to sign in and would have been refused. If she had set an expiry for the end of the trip, the link would have stopped working by itself. If she had remembered to review her links after the trip, she could have removed the link in a minute. None of these are VPN actions, which is the whole point.
How to review the links you have already shared
Most people cannot list their own active links from memory. Reviewing them is a short routine that is worth doing after a trip, after a project ends, or every few months.
- Open your storage or document service on a trusted device. Prefer your own phone or computer, not a shared or borrowed one. If you used a temporary device earlier, see our guide on reviewing active sessions after a temporary device.
- Find the sharing overview. Many services have a page or filter called something like "Shared", "Shared by me", "Links" or "Sharing". The name varies.
- Sort by what is open to anyone. Look for items marked as link access, public, or "anyone with the link". Those are the ones that depend on the link alone.
- Check each folder, not only files. A shared folder can expose everything inside it, including files you added later. Open the sharing panel of the folder itself and read who has access.
- Check the permission level. View access and edit access are very different. An editable link lets recipients change or delete content.
- Note the age. An old link that nobody uses is the easiest to forget and the easiest to remove.
- Look at named people too. Remove old collaborators who no longer need access, for example a former colleague or a driver from a trip.
If the service has an activity or audit view, glance at it for unfamiliar access, remembering that it may not list people who were not signed in.
How to expire, restrict and revoke links
Once you know which links exist, you have three levers. Their names differ between services, so use the idea rather than the exact words.
Restrict the audience
Change "anyone with the link" to a narrower choice, such as named people, or people in your organisation or family group. This keeps the link from working for a stranger who finds it, because the service will ask them to sign in and will check the account against the list.
Set an expiry
Where the service allows it, choose a date after which the link stops working. This is the safest default for a short-lived task. Set it when you create the link, because that is the moment you know the purpose. Some services offer expiry only on certain plans, and some do not offer it at all. In that case, put a reminder in your calendar to remove the link yourself.
Revoke the link
Remove the link or turn off link sharing for the item. Once the link is removed, the old address should stop granting access. If you want to keep sharing with a few people, give access to them by name first, then remove the open link, so you do not cut people off by accident.
Some services also let you generate a new link, which invalidates the previous one. This is helpful when a link has already spread further than you wanted and you still need the folder shared.
| Action | What it does | When to use it |
|---|---|---|
| Restrict to named people | Requires sign-in and checks the account | Ongoing work with a small group |
| Set an expiry date | Link stops working on a chosen date | Short projects, trip photos, one-off meetings |
| Remove the link | Ends link-based access | When the task is finished |
| Create a new link | Replaces the old address | When a link has been forwarded too widely |
| Lower permission to view-only | Stops recipients changing files | When people only need to read |
After you change a setting, test it. Open the old link in a private or signed-out browser window and confirm that it asks you to sign in or shows an error. This takes thirty seconds and shows you what a stranger would see.
Checks for people who share often
If you share files regularly, small habits do more than any single clever setting.
- Prefer named people over open links for anything that is private, even if it takes an extra minute.
- Use view-only by default. Grant edit access only to those who need it.
- Put sensitive files in their own folder so that a link to one folder cannot expose the rest.
- Keep links out of public places. Do not paste them into public posts, comment sections or group chats with strangers.
- Review on a schedule. After each trip, project or semester, spend five minutes with the sharing overview.
- Use strong sign-in protection on the storage account itself, including two-factor authentication, because anyone who takes over the account can create or alter links.
- Be careful with links sent to you. A message that says your folder is about to be deleted and gives a link to "verify" it is a common trick. Read our reference on recognising phishing before you click.

Limits and what to watch for
It helps to be honest about what review and revocation cannot do.
- Copies cannot be recalled. If someone has already downloaded a file, removing the link does not delete their copy. Revoking stops future access, not past access.
- Cached or previewed content may linger. Search engines, chat previews and caches may hold a thumbnail or title for a while. Behaviour varies, and you often cannot control it.
- Forwarded links are invisible to you. You cannot see who the recipient passed the address to, unless the service shows activity.
- Unsigned access may not be named. Some activity views list only signed-in viewers.
- File contents still matter. Documents and photos can carry personal details, such as names and sometimes location data, which a link review will not remove. The guide on reducing location exposure in shared documents, linked above, covers that.
- A VPN is not an access control. It will not stop a stranger who holds the link, and it cannot revoke one. Any claim that a VPN "protects your shared files" in this sense should be treated with caution.
If the link included something truly sensitive and has spread widely, treat it as an incident. Revoke it, change the sharing rules, change the passwords of any accounts mentioned in the files, and check with the people involved. Do not rely on the hope that nobody noticed.
Where your VPN still helps
None of this means a VPN is irrelevant to sharing. It still does useful work around the edges.
- On hotel, cafe or airport Wi-Fi, a VPN protects the traffic between your device and the VPN server while you upload or manage links, which makes it harder for someone on the same network to read it.
- It helps keep your own browsing and uploads from being read by the local network operator.
- It fits into a wider habit of care for your accounts, which we describe in how VPN accounts handle privacy.
A VPN is one layer, and share-link hygiene is another. A good routine uses both: a protected connection while you work, and clear, narrow, expiring links for the things you share.
Summary
A share link keeps working after your VPN disconnects because the permission lives on the storage service, tied to the link and the sharing rule, not to your connection. The VPN protects your own traffic and has no say over who can open a link. To stay in control, review your shared items regularly, narrow open links to named people, set expiry dates for short-lived sharing, and revoke links as soon as the task ends, then test the old address in a signed-out window. Remember that revoking stops future access but cannot recall copies. If you would like a protected connection for the moments you manage your files on shared Wi-Fi, you can look at the XPASS pricing page to see the available passes.
Frequently asked questions
Why does a shared folder link still work after I turn my VPN off?
Because the link works through the sharing setting stored on the storage service, not through your connection. Anyone who holds the link and meets the setting (for example, anyone with the link, or a named person who signs in) can open it from their own device and network. Your VPN only affects how your own traffic travels.
Does connecting to a VPN make a share link private?
No. A VPN does not change who the service allows to open the link. A link set to anyone-with-the-link stays open to anyone who has it, whether you are connected to a VPN or not. To make it private you have to change the sharing setting on the service.
How do I stop someone from using a link I already sent?
Open the sharing settings of the file or folder in the service, then remove the link or switch it to restricted access. Many services also let you create a new link, which makes the old one stop working. Wording varies between services, so check the options in your own app.
Should every share link have an expiry date?
Where the service offers it, an expiry date is a good habit for links that you only need for a short time, such as sending photos after a trip or a document for one meeting. It is a safety net for the times you forget to turn sharing off.
Can I see who opened my shared link?
It depends on the service and the plan. Some show recent activity or viewers for signed-in people, but a link opened by someone who is not signed in may not appear by name. Do not assume that you will see every access, and prefer named people when you need accountability.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Privacy Guides
How Do You Review Active Sessions After Using a Temporary Travel Device?
A borrowed phone or a hotel computer can leave your accounts signed in after you walk away. Here is a calm, step-by-step way to review active sessions and close the ones you no longer need.
10 min read

Privacy Guides
How Do You Reduce Location Exposure in Shared Online Documents?
Shared documents can expose your location through metadata, comments, embedded photos and link settings. Here is a practical checklist, and an honest note on what a VPN does not change.
11 min read

Privacy Guides
What a VPN Cannot Protect You From
A VPN secures the connection, not the person using it. This guide covers phishing, malware, ransomware, identity theft, data breaches, email privacy and other risks it cannot solve, and what to do about each.
9 min read