SMSMC Blog

Files open to anyone with the link: how to find them and close them

How link sharing works in Google Drive and Microsoft 365, where to find files shared with anyone, and the settings that stop new ones.

By Jim Venuto

A staff member shares a folder with a client by sending a link. The link works for the client. It also works for anyone the client forwards it to, anyone who finds it in an old email, and anyone it was pasted to. Months later the project is over, and the folder is still open.

Microsoft’s own documentation describes the trade. Its guidance on unauthenticated sharing (page archived; source) says “Anyone” links are the easiest way to share: people can open them without authentication and are free to pass them on. It adds that files often stay in sites for long periods, so sharing them with unauthenticated people can lead to unexpected access in the future. Its sharing settings page (updated June 30, 2026) says that with an “Anyone with the link” link, forwarded links work internally or externally, but you cannot track who has access or who has accessed the items.

The problem for a small business is not one bad share. It is hundreds of old ones that nobody remembers, mixed with the three that matter.

Step 1: find them

Google Drive, for one person’s files. Stanford’s IT guidance (source) describes the method: in Drive, choose the People filter in the search bar and select “Anyone with the link.” The list shows every file and folder with that setting. Each owner can run this on their own Drive, and again on each shared drive.

Google Workspace, for the whole company. Google’s help page on external sharing (source) says an administrator can still review externally shared files in Drive log events, even if the “External” warning indicator is turned off. The log shows sharing events as they happen. For a full inventory of what is open now, you need an export or a script, so ask your administrator or provider which they will use.

Microsoft 365. The SharePoint admin center has data access governance reports (Microsoft’s documentation, updated July 30, 2026). The sharing links report finds sites where users created the most links, including Anyone links, in the last 28 days. Organizations without SharePoint Advanced Management must enable data collection first, and the reports only contain data from that point on. The same page says the site permissions report, a snapshot, helps identify sites with the broadest access. Check your licensing before you plan on these reports.

Step 2: decide what each one is

Sort the list into three piles.

  • Meant to be public. A price list, a brochure. Leave it.
  • Finished. A project folder from last year. Close it.
  • Sensitive. Client files, HR records, financial statements, anything with personal information. Close it today and record who had it.

Closing means changing the link to restricted or to people in your organization. In Drive, that is the General access setting, changed from “Anyone with the link” to Restricted, as the Stanford page shows. In Microsoft 365, Microsoft says each site’s sharing setting can be set independently but must be the same as or more restrictive than the organization’s, so the administrator can close a sensitive site without touching the rest.

Step 3: stop making new ones

Microsoft 365. Microsoft’s guidance gives three settings. Require Anyone links to expire within a number of days. Set Anyone link permissions to view-only. Change the default link type to “Only people in your organization,” so sharing outside takes a deliberate choice. Microsoft notes that if you change the expiry, existing links keep their current expiry when the new setting is longer and take the new one when it is shorter. It also describes a Purview data loss prevention rule that blocks access through Anyone links for files containing specified types of sensitive information.

Google Workspace. The sharing settings sit in the Admin console under Drive and Docs, Sharing settings. Google says you can turn external sharing off, limit it to allowlisted domains, or warn people before they share, and that changes can take up to 24 hours. Separately, Google’s “Security update for files” adds a resource key to the URLs of some files and folders to help prevent unintended access (Google’s page, updated October 26, 2026). Applying it to all affected files does not change access for people who already have the files. Google does not recommend removing it.

Neither platform’s settings replace a rule people follow: share with named people, and use a link open to anyone only for material meant to be public.

Who does what

  • The owner decides which kinds of material may ever be shared by open link and signs off on the settings.
  • The administrator runs the first inventory, sets expiry, view-only and the default link type, and repeats the check each quarter.
  • Each file owner reviews their own list within a week of the first inventory, closes finished shares and tells the administrator about anything sensitive that was open.

Sources