Back to Blog
how-to

Preventing Data Breaches in SharePoint: 7-Step Guide

Editorial Team14 min read
Preventing Data Breaches in SharePoint: 7-Step Guide

Table of Contents

Last Updated: October 19, 2026

Why SharePoint Data Breaches Happen and What's at Stake

Preventing data breaches in SharePoint starts with accepting an uncomfortable truth: most incidents are not sophisticated attacks, which is why preventing data breaches in sharepoint is mostly about discipline. They are permission mistakes, shared links, and forgotten guest accounts.

SharePoint data loss prevention is the practice of controlling who can access, share, and download sensitive files across your Microsoft 365 tenant. Get it wrong and your intellectual property, client records, and HR files sit one misclick away from the open internet.

The Three Most Common Breach Paths

Almost every incident we see traces back to one of three patterns:

  • Oversharing through broad membership. Everyone gets added to a site "just in case."
  • Anonymous or open external links. A file is shared with "anyone with the link."
  • Inherited permissions nobody reviewed. A folder stays open long after a project ends.

The consequence is rarely dramatic at first. A former contractor still has access. A client list gets forwarded. By the time it surfaces, the exposure window is months old.

Watch Out The most expensive mistake is assuming a private site is private. If inheritance was broken years ago and never audited, sensitive data may be visible to every member of the site. Audit before you reassure leadership.

Step 1: Run a SharePoint Security Assessment Before Changing Anything

Start with a baseline, not a cleanup. You cannot fix permissions you have not mapped, and changes made blind tend to break workflows people depend on.

An IT manager and a consultant reviewing a SharePoint admin center dashboard on a large monitor in a modern office, with printed site inventory notes on the desk
An IT manager and a consultant reviewing a SharePoint admin center dashboard on a large monitor in a modern office, with printed site inventory notes on the desk
Establishing a baseline through this audit provides the necessary foundation for implementing broader IT security controls that protect your entire digital infrastructure.

What to Inventory First

Work through this list in order. It takes a few days for a mid-sized tenant and saves weeks of guesswork.

  • Every site collection, its owner, and its last activity date
  • Sites with unique permissions versus inherited permissions
  • Microsoft 365 Groups with more than 50 members

Microsoft publishes baseline guidance in its SharePoint security and permissions documentation, and it is worth reading before you touch a single setting.

Step 2: Apply SharePoint Security Best Practices to Permissions and Access

The core rule is least privilege: give people the minimum access they need to do the job, and no more. Most tenants violate this by default, because adding someone to a group is easier than scoping a permission.

Fix Inheritance and Stop Item-Level Sprawl

Permission inheritance means a file or folder inherits access from its parent. Break it too often and you get item-level permissions nobody can track. Our rule of thumb:

Problem Fix Why It Matters
Unique permissions on many items Restore inheritance, use groups Fewer places for access to hide
Individual users added directly Move to group-based permissions Access reviews become possible
Broad "Everyone" groups Scope to specific teams Cuts oversharing at the source
Stale guest accounts Review and remove quarterly Closes old access paths

Group-based permissions and role-based access control keep the model simple enough to audit. If you cannot explain who can see a file in under a minute, the model is too complex.

Pro Tip Before you remove anyone's access, export the current permission report. When someone insists they need a folder, you will want the before-and-after to show what changed and why.

Step 3: Lock Down SharePoint External Sharing Settings

External sharing settings decide how far your content can travel. The mistake most teams make is treating this as a single toggle. In practice, external sharing is governed at three layers, tenant, site, and link, and a gap at any layer undoes the others.

Set the Tenant Ceiling First

In the SharePoint admin center, open Policies > Sharing. This is the maximum any site can allow; site-level settings can only be equal to or more restrictive. A practical baseline for most mid-market tenants:

  • Set the default sharing link type to Specific people rather than "Anyone with the link" or "People in your organization."
  • Set the default link permission to View so a careless share does not grant edit rights.
  • Choose Guest access expires automatically after a set number of days (30 to 90 is a common starting point).

Tighten at the Site Level

Tenant settings are a ceiling, not a policy. For sites holding HR, finance, legal, or client records, open the site's Settings > Site permissions > Sharing settings and set sharing to Only people in your organization or New and existing guests with an approval workflow. Verify the change by opening the site as a non-owner test account and attempting to create an external link, if the option appears, the site is still inheriting the looser tenant default.

Existing links are where breaches hide. Use the Sharing reports in the SharePoint admin center or the Data access governance reports to list every link by type (Anyone, People in your organization, Specific people, Guest) and by age. Prioritize:

  • Anyone links older than 30 days, revoke or convert to specific-people links.
  • Links created by departed employees, these often survive offboarding.
  • Links to sites with sensitivity labels of Confidential or Restricted, these should not have anonymous access at all.

A common pattern is to find anonymous links created years ago for a one-time vendor exchange that nobody closed. Revoking them is low-risk; leaving them is the quiet leak that surfaces in an incident review.

Know Which Controls Need Which License

Not every control is available on every plan, and pretending otherwise wastes admin time:

  • Anonymous link expiration and default link type are available across Microsoft 365 business plans.
  • Domain-restricted sharing and guest expiration are available in most business plans but verify in your tenant's sharing settings before promising them to leadership.
  • Sensitivity labels with encryption and DLP enforcement on external sharing require Microsoft Purview capabilities that ship with higher-tier plans; organizations on lower tiers should compensate with site-level restrictions and manual link reviews.
Watch Out A tenant-level setting that looks locked down can be overridden at the site level by a site owner. Audit site-level sharing settings quarterly, not just the tenant default, the tenant ceiling only matters if sites actually sit beneath it.

Before revoking a batch of external links, export the sharing report to CSV and note the site owner for each. When a partner complains, you will want the record of what was shared, when, and by whom.

Step 4: Enforce Identity Security with MFA and Conditional Access

Multi-factor authentication is the cheapest control with the largest effect. Turn it on for every account, including service accounts where technically possible.

Then layer conditional access on top:

  • Block sign-ins from unmanaged devices for sensitive sites
  • Require compliant or managed devices for finance and HR content
  • Challenge risky sign-ins with additional verification

Identity is the front door. If an attacker gets a valid credential, permissions and sharing settings become the only thing standing between them and your files.

Schedule Free Consultation →

Step 5: Configure SharePoint Data Loss Prevention and Sensitivity Labels

Sensitivity labels classify content, and DLP policies act on that classification. Together they stop sensitive data from leaving through email, downloads, or external sharing.

A practical starting set:

  • Labels: Public, Internal, Confidential, Restricted
  • DLP rules: block external sharing of Confidential and Restricted items
  • Alerts: notify the compliance owner when a rule triggers

Start with two or three policies aimed at your highest-risk data. A sprawling DLP rollout generates alert fatigue and gets ignored. Microsoft's data loss prevention guidance is a solid reference for policy structure.

Labels without enforcement are decoration. Pair every label with at least one DLP rule, or the classification does nothing.

Step 6: Monitor Activity and Set Practical Alert Thresholds

Audit logs are only useful if someone reads them and knows what "normal" looks like. The unique angle here is measurability: define a small set of indicators, set thresholds you can defend, and review them on a fixed cadence.

Where the Data Lives

SharePoint activity flows into the Microsoft Purview audit log (formerly the Office 365 audit log) and is surfaced in the Microsoft 365 Defender portal under Audit. Key record types to filter on:

  • FileAccessed, FileDownloaded, FileSharedExternally, sharing and download activity.
  • AddedToGroup, AddedToSiteCollectionAdmin, permission escalation.
  • AnonymousLinkCreated, SharingSet, external link creation and changes.

Retention matters: default audit log retention is 180 days for most plans, and longer retention requires add-on licensing. If your incident response plan assumes you can pull logs from a year ago, verify that assumption before you need it.

Practical Thresholds and KPIs

Set these as review triggers, not hard alarms, and tune them to your tenant size:

Indicator Suggested threshold Why it matters
Mass download by one user More than 100 files or 1 GB in a 24-hour window Common exfiltration pattern
External shares on a sensitive site Any new Anyone link on a Confidential-labeled site Should be zero by policy
Stale guest accounts No sign-in in 90 days Old access paths
Failed sign-ins per account More than 10 in an hour Credential guessing
Permission changes on high-value sites Any change outside a change window Unreviewed escalation
Time to revoke access after offboarding Target under 24 hours Measurable control effectiveness

These are starting points, not universal truths. A design firm with 40 users and a manufacturer with 4,000 will need different numbers, the discipline is having a number and reviewing against it, not copying someone else's.

The Review Cadence

  • Weekly: scan the audit log for the indicators above; 30 minutes is enough for a mid-sized tenant.
  • Monthly: review guest accounts and external links against the thresholds.
  • Quarterly: full permission review and a check that alert thresholds still match current business activity.

Validate the Monitoring, Not Just the Settings

A monitoring program that has never fired is untested. Run a safe validation once a quarter: have a test account download a small batch of files from a non-sensitive site and confirm the alert triggers and reaches the right person. If it does not, the threshold or the alert routing is broken, and you would rather learn that in a drill than in an incident.

The NIST Cybersecurity Framework frames this as continuous monitoring, and the framing is right, but continuous monitoring without thresholds is just continuous noise. Pick five indicators, write down the number, and review them on a schedule.

Step 7: Build a SharePoint Data Breach Response Plan

A SharePoint data breach response plan is a written sequence of actions your team follows when exposure is suspected. Write it before you need it.

Minimum contents:

  1. Who declares an incident and who is notified
  2. How to preserve audit logs before they roll off
  3. Steps to revoke access and disable links
  4. Who contacts legal, leadership, and affected parties
  5. How the incident is documented and reviewed afterward

Rehearse it once a year. A plan nobody has practiced is a document, not a capability.


SharePoint sprawl and permission drift are fixable, but only with a clear baseline, a least-privilege model, and a team that knows how to maintain it. Our Microsoft Certified Trainer-led work focuses on governance foundations, external sharing controls, and the training that keeps adoption high after we leave.

Frequently Asked Questions

How do I prevent data breaches in SharePoint?

Start by inventorying every site and its permissions, then remove broad access by moving from direct user permissions to group-based permissions and enforcing least privilege. Turn on multi-factor authentication for all accounts, restrict external sharing to approved domains, and apply sensitivity labels and DLP policies to sensitive data. Add audit logging with alerts for mass downloads and anonymous link creation, and review permissions on a fixed quarterly cadence. Most SharePoint data breaches trace back to stale permissions and oversharing, not sophisticated attacks, so recurring access reviews matter as much as the initial configuration.

What are the best SharePoint security best practices for a mid-market company?

Use group-based permissions instead of assigning access to individuals, keep permission inheritance intact wherever possible, and limit item-level permissions to exceptions. Enforce multi-factor authentication and conditional access so only managed devices reach sensitive sites. Set external sharing at the tenant level and override it per site only when there is a business reason. Apply sensitivity labels and DLP policies to financial, HR, and client data. Finally, schedule quarterly permission reviews and monitor audit logs for unusual download volume, which catches most issues before they become incidents.

Can external users access SharePoint files, and how do I control it?

Yes. External sharing in SharePoint Online can be configured at the tenant level and then narrowed per site. The safest baseline is to allow sharing only with authenticated guests and block anonymous links entirely. Require guests to sign in with a Microsoft account or a one-time passcode, and set link expiration and permissions defaults so links are view-only unless editing is needed. Review the guest list quarterly, remove guests who no longer work with you, and check the sharing reports in the SharePoint admin center to see which sites are sharing externally and with whom.

What should I do if sensitive data is exposed in SharePoint?

Contain first: revoke the sharing links, remove the affected users or guests, and if credentials are suspect, revoke sessions and reset passwords. Preserve evidence by exporting the unified audit log for the affected site and time window before making further changes. Identify the data involved and who accessed it, then notify your legal and compliance leads so they can assess notification obligations under applicable state breach laws. After containment, fix the root cause, whether that was an anonymous link, an overshared site, or a missing DLP policy, and document the timeline for your incident record.

Need Expert Help?

Let's talk about your Microsoft 365 challenges.

Schedule Free Consultation