
Locking down SharePoint and OneDrive external sharing
Out of the box, Microsoft 365 lets staff share files with almost anyone. That is convenient until a confidential folder link turns up in the wrong inbox. This guide explains the sharing levels, when to turn off Anyone links, sensible defaults, and how to find what is already shared.
Reviewed by the ITRS security team · Last updated
Sharing levels explained
SharePoint and OneDrive each have an organization-wide external sharing setting, managed in the SharePoint admin center. The OneDrive setting can be the same as or more restrictive than the SharePoint setting, never more permissive, and each site can be set the same as or more restrictive than the organization. Microsoft Learn's "Manage sharing settings for SharePoint and OneDrive" documents each level.
| Level | What it allows | Typical fit |
|---|---|---|
Anyone | Links that work for anyone who has them, no sign-in; plus guests who authenticate | Rarely appropriate firm-wide; sometimes for a marketing site |
New and existing guests | Sharing with outsiders who sign in or enter a one-time verification code | Most professional-services firms |
Existing guests | Only people already in your directory as guests | Sensitive sites: HR, finance, board |
Only people in your organization | No external sharing | Internal-only sites and many OneDrive accounts |
Anyone links: when to disable
Anyone links are the riskiest option because they cannot be traced to a person. A forwarded link works for whoever receives it, and you cannot tell who opened it. Microsoft notes you cannot track who has access to shared items when Anyone links are used.
For law, accounting, HR and health practices, the safer default is to turn Anyone links off and use "New and existing guests", where the recipient must authenticate. If the business genuinely needs Anyone links (large file delivery to the public, for example), restrict them: set them to expire after a set number of days, allow View only, and limit them to specific sites.
Expiry and permission defaults
- Default link type: set to "Specific people" so staff must choose recipients, rather than "Only people in your organization" or "Anyone with the link".
- Default permission: View, not Edit. Users can still upgrade a link when they need collaboration.
- Guest access expiry: SharePoint can make guest access to a site or OneDrive expire after a set number of days, so old guests age out instead of keeping access for years.
- Organization link expiry: admins can now set expiration for "People in your organization" links too; existing links are evaluated against the policy when used.
- Re-authentication: require guests using verification codes to re-authenticate after a set period.
Site-level exceptions
Set the organization level to the most permissive setting you need anywhere, then tighten individual sites. A typical pattern: organization allows New and existing guests; client collaboration sites keep that; HR, finance, leadership and board sites are set to Only people in your organization; one marketing site is allowed Anyone links if truly needed.
Guest settings on Microsoft 365 Groups and Teams also affect connected SharePoint sites, so check both. Sensitivity labels applied to sites can enforce these external sharing settings automatically, which stops a site owner from loosening them later.
Guest access reviews
Guests accumulate. Every past client, contractor and opposing party who was ever shared a file can remain in your directory. Review them at least quarterly.
With the appropriate Microsoft Entra ID Governance or P2 licensing, Access Reviews can ask site or team owners to confirm each guest still needs access and remove those who are not confirmed. Without those licences, export guest users from Entra ID, sort by last sign-in, and remove or block those who have not signed in for months. Record who reviewed what and when; that record is evidence of the PIPEDA safeguards principle in practice.
Finding what's already shared
Run sharing reports
SharePoint can produce a sharing report for a site or OneDrive listing items shared through links and with guests.
Search the audit log
Sharing events (links created, guests invited, Anyone links used) are recorded in the Microsoft 365 audit log for investigation.
Prioritize sensitive locations
Start with HR, finance, client and leadership sites rather than every OneDrive.
Remove or convert risky links
Delete Anyone links that are no longer needed; replace with Specific people links.
Change settings, then communicate
Tell staff what changed and how to share with clients properly.
Questions we hear
Clients will be asked to sign in or enter a one-time code emailed to them. Most manage easily after the first time; tell them in advance.
Many firms restrict OneDrive to internal sharing and require client files to be shared from team or client sites, where ownership and access survive staff changes.
Yes. Files shared in Teams live in SharePoint and OneDrive, and team guest settings and site sharing settings interact. Change them together.
Related reading.
- PracticeManaged IT SupportHelpdesk and break/fix, networking, security systems, devices, Microsoft 365, cloud and backup.
- GuideSecure file sharing with clientsTax returns, medical notes, settlement drafts and payroll files still travel as email attachments every day. Most of the time nothing goes wrong.
- GuideQuarterly user access review checklistAccess only ever grows. People change roles and keep their old permissions, guests from finished projects linger, and an admin account created for a one-off job is still…
- GuideGetting started with sensitivity labelsSensitivity labels tell people, apps and Copilot how sensitive a document or email is, and can enforce encryption and access rules that travel with the file.
- ServiceMicrosoft 365 Managed Services for Canadian BusinessesMicrosoft 365 needs active management after setup or migration.
Want this handled for your business?
Tell us your users, devices and sites. We are staffed 24/7 and reply with next steps. Quotes are built from your environment, not a price list. Active incident? Call (289) 582-9930, 24/7.
