# Protect sensitive files on devices

- URL: https://m365playbooks.com/playbooks/protect-sensitive-files-on-devices/
- Topic: Data Loss Prevention (Program)
- Product: Purview, Exchange, SharePoint, Teams, Copilot
- Stage: Deploy
- Last reviewed: November 19, 2026
- Version: 1
- Prepared by: Sev Derghazarian

## Overview

Most sensitive files end up on a laptop at some point. From there they can be copied to a USB drive, uploaded to personal cloud storage, printed or pasted into a website, and email and file policies see none of it. Endpoint DLP brings the same register categories to the device. Because it watches file activity before any policy exists, you start by learning what people actually do, then restrict only the routes your register says matter.

Technically, you onboard devices to Purview (devices already in Microsoft Defender for Endpoint appear without extra steps once device onboarding is on), configure endpoint DLP settings (allowed and blocked service domains, unallowed browsers, approved USB devices, printers and network shares, restricted apps), then add device policies per register category. Each policy runs in simulation, then audit, then block with override for a pilot, then block for the highest categories.

- You'll end up with: Endpoint DLP in force on Windows and macOS devices, with approved devices and sites listed, uploads to unsanctioned cloud storage and copies to unapproved USB drives controlled, and an owner for each list.
- Duration: 6 to 8 weeks
- Effort: About 10 to 15 person-days
- Complexity: Medium
- Who's in the room: Purview admin, endpoint admin (Intune or Defender for Endpoint), security analyst, service desk lead, pilot group
- Beyond E5: Nothing beyond Microsoft 365 E5
- If you skip it: Blocking USB or uploads without an approved list stops legitimate work, and the policy gets switched off.

## Before you start

- [Protect sensitive information in email and files](https://m365playbooks.com/playbooks/protect-sensitive-information-in-email-and-files/) (live)
- **Check devices meet the requirements** Windows 10 22H2 or Windows 11, or one of the three latest macOS versions. On Windows, the Microsoft Defender Antimalware client must be current, with real-time protection and behaviour monitoring on. Windows Server is supported but not enabled by default.
- **Brief the service desk** Tell the service desk which routes will be restricted, what users will see, and how to request an approved USB device or site.
- Which routes do you control first?

  **Decision: Which routes do you control first?** Recommended default: Uploads to unsanctioned cloud services and copies to USB first; printing, clipboard and the rest only where audit data shows a real risk.
  Endpoint DLP can audit or restrict uploads to cloud services, copies to USB, network shares and the clipboard, printing, Bluetooth, remote desktop and access by restricted apps. Each one you restrict needs an approved list and an exception path.
  Other options: Every route at once. Decided by: Security lead with the category owners.

**Rollout approach:** Representative cross-section (Pilot size: 5 to 10% of devices). Device restrictions affect how people work every day. A cross-section that includes people who print, use USB drives for real work, and use more than one browser shows the exceptions you need before everyone meets them.

## Pilot to production

### 1. Onboard and observe (2 to 3 weeks)

Turn on device onboarding, onboard the pilot devices, and turn on "Always audit file activity for devices". Review Activity explorer: which cloud services, USB devices, printers and apps sensitive files actually go to.

- Who: Endpoint admin with the security analyst
- Produces: Onboarded pilot devices and a picture of how sensitive files leave them
- Move on when: You know the cloud services, devices and apps people use for real work.

**How to do it:** Activity explorer shows device activity on Office files, PDF and CSV even before any policy targets the device, so this phase needs no policy at all.

**Onboard devices.** Use the method you already manage devices with: Intune, Defender for Endpoint, Configuration Manager or Group Policy. A local script suits a handful of test machines only.

- [ ] Do pilot devices show activity in Activity explorer?

### 2. Configure endpoint settings (1 week)

Turn what you observed into lists: allowed or blocked service domains, unallowed browsers, approved USB devices, printers and network shares, and restricted apps. Each list gets an owner.

- Who: Purview admin
- Produces: Endpoint DLP settings with an owner per list
- Move on when: Every list has an owner and a way to request a change.

**Decision: Allow list or block list for cloud services?** Recommended default: Allow list of sanctioned cloud services.
Service domains work as one list in Allow or Block mode. An allow list restricts uploads to every site not on it; a block list restricts only the sites on it. The list applies to uploads in Microsoft Edge, and in Chrome and Firefox with the Microsoft Purview extension.
Other options: Block list of known personal storage and file-sharing sites. Decided by: Security lead.

**How to do it:** **Close the browser gap.** Add browsers you can't control as unallowed browsers, so restricted files must be opened in Edge, or deploy the Microsoft Purview extension to Chrome and Firefox.

**Exclude noisy paths only when you must.** Files in excluded paths aren't audited or restricted at all.

- **If you** Restrict uploads without covering Chrome and Firefox. What tends to happen: People switch browsers and the upload goes through unseen.. A better approach: Deploy the Purview extension, or list those browsers as unallowed.

- [ ] Are approved USB devices and printers listed?

### 3. Simulate and audit (up to 15 days)

Add device policies per register category, scoped to the pilot devices, in simulation mode with audit-only actions. Review matches with category owners.

- Who: Purview admin with the security analyst
- Produces: Tuned device policies and a list of expected exceptions
- Move on when: Matches are reviewed and known false positives tuned out.

**How to do it:** For devices, simulation evaluates only items that are new or changed while it runs, so run it over a normal working period.

- [ ] Has every device policy run in simulation?

### 4. Block with override for the pilot (2 to 4 weeks)

Switch the pilot to block with override for the routes in scope. People see a notification and can continue with a reason; each override is logged.

- Who: Purview admin
- Produces: Override data that shows where to tune
- Move on when: Overrides have settled and every legitimate route is on an approved list.

- **If you** Block USB without an approved device list. What tends to happen: Teams that rely on USB for real work stop, and the block is reversed under pressure.. A better approach: List approved USB devices first, and block only unapproved ones.

- [ ] Is the override rate falling week on week?

### 5. Block and extend in waves

Remove the override for the categories your register marks highest, then widen scope wave by wave. Consider just-in-time protection, which holds egress on files not yet evaluated until classification completes.

- Who: Purview admin
- Produces: Device policies enforced across the organization
- Move on when: Each wave completes without a rise in escalations

- **If you** Expect endpoint DLP to catch text that was never saved. What tends to happen: Content typed or pasted without being saved to a file isn't scanned.. A better approach: Pair endpoint DLP with browser and Copilot controls where that risk matters.

- [ ] Are all planned waves enforced?

### 6. Hand over to operations

Record each policy, list and owner, and how exception requests are handled, then agree the Maintain cadence.

- Who: Purview admin
- Produces: Documented policies and lists, with owners
- Move on when: Operations owns the lists and the exception process

- [ ] Does every list have an owner in operations?

**Alongside every phase:** Review override reasons and exception requests weekly. Each one adds a device or site to an approved list, tunes a policy, or confirms the restriction is right.

**What keeps it in place:** Policies and endpoint settings apply to every onboarded device, so new devices are covered once they're onboarded. Onboarding through Intune or Defender for Endpoint keeps that automatic. Changes to settings take about an hour to sync across the service.

## How you'll know it's working

Capture a baseline before you start, or you won't be able to show the change.

- Sensitive files copied to unapproved USB or uploaded to unsanctioned services (Where you see it: Purview Activity explorer; Good direction: Down)
- Overrides per week on devices (Where you see it: Purview alerts; Good direction: Down)
- Service desk tickets about blocked device activity (Where you see it: Service desk; Good direction: Steady)

## Microsoft Learn

**Plan:**

- [Learn about Endpoint data loss prevention](https://learn.microsoft.com/en-us/purview/endpoint-dlp-learn-about)
- [Get started with Endpoint data loss prevention](https://learn.microsoft.com/en-us/purview/endpoint-dlp-getting-started)

**Configure:**

- [Onboard Windows devices into Microsoft 365 overview](https://learn.microsoft.com/en-us/purview/device-onboarding-overview)
- [Configure endpoint DLP settings](https://learn.microsoft.com/en-us/purview/dlp-configure-endpoint-settings)
- [Using Endpoint data loss prevention](https://learn.microsoft.com/en-us/purview/endpoint-dlp-using)
- [Get started with just-in-time protection](https://learn.microsoft.com/en-us/purview/endpoint-dlp-get-started-jit)
- [Learn about data loss prevention simulation mode](https://learn.microsoft.com/en-us/purview/dlp-simulation-mode-learn)

## Changelog

- Version 1, 2026-11-19, Sev Derghazarian: Published.
