Data loss prevention (DLP) is a set of tools and policies that detect sensitive data and stop it from being used or sent where it should not go. The NIST glossary describes DLP capabilities as designed "to detect and prevent the unauthorized use and transmission" of information1. DLP watches what people do with data from the day it is switched on. It inspects stored files only where it has been connected, and old exports often sit elsewhere.
What is data loss prevention?
The definition in the NIST glossary comes from a US national security glossary, but its outline fits commercial products too1. DLP is a system's ability to find, watch and protect data in three states: data in use, such as actions on an endpoint, data in motion, such as actions on a network, and data at rest, meaning data in storage1.
Microsoft's documentation gives the everyday version. Organizations need a way to keep users from "inappropriately sharing sensitive data with people who shouldn't have it", and the practice is called data loss prevention2.
The same three states appear in the NIST Cybersecurity Framework as separate outcomes: protecting data-at-rest (PR.DS-01), data-in-transit (PR.DS-02) and data-in-use (PR.DS-10)6. DLP is one way to work toward them. It is not the only one.
How DLP works: a policy, a detector and an action
A DLP system has three parts. A policy says which data matters and where to look. A detector decides whether a given file or message contains that data. An action follows when someone does something the policy forbids.
Microsoft describes the pattern for its own product. Its DLP policies "monitor the activities that users take on sensitive items" and, when the conditions are met, take protective actions2. If a user tries to copy a sensitive item to an unapproved location, or to share medical information in an email, the product can show a warning, block the action with an option to override, or block it outright2.
| State of the data | Example of what DLP watches | Typical action |
|---|---|---|
| In use | Copying a file to USB removable media, printing it, or pasting its contents into a website3 | Audit, warn or block3 |
| In motion | Sending an email or uploading a file to a cloud service23 | Warn, block, or block with override2 |
| At rest | A sensitive item stored in a location the policy covers2 | Lock the item and move it to a quarantine location2 |
The centre of gravity is behaviour. Microsoft says a successful rollout depends as much on getting users trained and used to DLP as on well-planned policies2.
What Microsoft's DLP covers
Microsoft Purview is the reference point here because Microsoft's documentation spells out each location its DLP covers2. Microsoft says its DLP can monitor and protect data at rest, in use and in motion across Microsoft 365 services, Windows 10 and Windows 11 devices, recent macOS versions, on-premises file shares and on-premises SharePoint2.
The locations do not all work the same way, and Microsoft says so. Some, like Exchange Online, "can be brought under the DLP umbrella by just configuring a policy"2. Others, such as on-premises file repositories, "require a deployment of Microsoft Purview Information Protection scanner"2.
On computers, the feature is Endpoint DLP. It extends activity monitoring to Windows and macOS devices "once devices are onboarded" into Purview3. Microsoft lists when it classifies a file: every time a file is created or modified it is fully scanned, and when an already classified file is read, the policies are checked again3.
Why old files slip past DLP
None of the following is a defect. DLP is built to control what happens to data from now on. Old files raise a different question, and three details in Microsoft's documentation show why.
First, classification follows activity. The two conditions Microsoft lists for Endpoint DLP are creation or modification, and reading a file that is already classified3. A mailbox export saved to a workstation years ago, and not opened since, matches neither condition as Microsoft describes them. Microsoft does describe two backstops. Just-in-time protection, where it is enabled, blocks egress activities on monitored files that have never been evaluated until the evaluation completes3. And on-demand classification, in preview, can classify historical data stored in SharePoint and OneDrive3. The first guards a file at the moment someone tries to move it, and the second covers two cloud locations. Neither produces a list of what is sitting on a workstation's disk.
Second, coverage follows onboarding. Endpoint DLP applies to devices that have been onboarded3. A retired desktop in a storage room, an external drive in a cabinet and a network storage box that was never added to the policy are not locations the policy knows about.
Third, file shares need their own scanner. For on-premises file shares, Microsoft's Purview scanner "runs as a service on Windows Server"4. Its prerequisites include a Windows Server computer and a SQL Server to hold its configuration5. Microsoft also notes that the scanner "does not discover and label in real time" and instead crawls the data stores it is given4. Many small offices have none of that infrastructure.
There is a simpler reason as well. A DLP policy looks for the data types someone told it to look for. An organization that does not yet know what it holds is poorly placed to write that list.
DLP and data discovery answer different questions
| DLP | Data discovery | |
|---|---|---|
| The question | Is someone about to send or copy sensitive data where it should not go? | Where is sensitive data sitting right now? |
| When it works | Continuously, from the day a policy is on | At a point in time, each time a scan runs |
| What it needs | Connected locations, onboarded devices, tuned policies, trained users23 | Read access to the files |
| What it produces | Warnings, blocks and an activity log2 | A list of files and the identifiers in them |
The two fit together. Discovery finds the backlog and tells the organization which data types deserve a DLP policy. DLP then guards the cleaned-up estate. Sensitive data discovery is covered on its own page, and the kinds of data involved are explained in What is PII?, PII vs PHI vs PCI and What is sensitive data?.
DLP for small business: what to decide first
A small business rarely needs to shop for DLP as a first step. Four decisions come before any purchase.
- Check what is already licensed. A productivity suite the business pays for may include DLP features for mail and cloud files.
- Start in a test mode. Microsoft recommends deploying policies in "simulation mode" and evaluating their impact before running them in more restrictive modes2.
- Pick one or two data types. A policy for card numbers and one national identity number is easier to tune than a policy for everything.
- Deal with the backlog separately. DLP reports on the locations it is connected to. The archive folder from an old mail server is rarely one of them, so it needs a scan of its own.
This page does not rank DLP products. The comparison pages set several enterprise DLP platforms beside a desktop scanner, using each vendor's own published pages.
A short data loss prevention audit checklist
These questions test whether a DLP deployment covers what the organization thinks it covers.
- Which locations are in the policy's scope, and which shares, drives and computers are left out?
- Is each policy enforcing, or still in simulation mode2?
- Which data types does each policy detect, and do they include the identifiers the business really holds?
- Where do alerts and the activity log go, and who reads them? Microsoft says DLP activities are recorded to the Microsoft 365 audit log by default2.
- What sits outside every policy location (archives, exports, removable drives), and when was it last scanned?
The last question is the one that DLP reports cannot answer about themselves.
Where a file scanner fits
A scanner is not DLP and does not replace it. VellumSoft does not block, quarantine, delete or redact. It is a discovery tool, not a prevention agent.
What it covers is the backlog. VellumSoft scans PST and email exports, documents and images for US and Canadian PII and PHI, and it runs locally so the data never leaves the machine. Shared drives and mailbox exports are among its typical uses, including decade-old .pst files and forwarded attachments.
It has limits of its own. Version 2.0.2 does not read Word (DOCX), Excel (XLSX), ZIP or 7z files. It reads local files and PST, OST and MSG mail archives. It does not connect to a live Microsoft 365 mailbox, so mail that is already in the cloud is a job for the suite's own tools. The PST and OST page and the how it works page show what a scan of an old export looks like. The other terms are in the privacy data glossary.
DLP tells you when sensitive data moves, and what is stored in the places it is connected to. It does not tell you what is in the drawer nobody connected.
This page explains the law in general terms and is not legal advice.
Questions
What does DLP stand for?
DLP stands for data loss prevention. It covers the tools and policies that detect sensitive data and stop it from being used, copied or sent in ways the organization has not approved.
Does DLP scan files that already exist?
It can, in the places it is connected to. Microsoft says its DLP can protect data at rest in Microsoft 365 services, on onboarded devices and on on-premises file shares. Files stored anywhere else, such as an archive drive or a computer that was never onboarded, are outside the policy's reach.
Is DLP the same as data discovery?
No. DLP enforces rules about what people may do with sensitive data from now on. Data discovery reports where sensitive data already sits. A DLP product often includes some discovery, but only for the locations it has been deployed to.
What is the difference between data in motion and data at rest?
Data in motion is travelling: an email being sent or a file being uploaded. Data at rest is stored: a file on a drive or a message in a mailbox. The NIST glossary's definition of DLP adds a third state, data in use, which covers actions on an endpoint such as copying or printing.
Can DLP replace a PII scan before a mailbox migration?
Not for the export files themselves. A DLP policy starts applying to mail once it is inside the service the policy covers. What is in an old export before it is imported is a discovery question, and a scan of the file answers it.
Sources
- NIST Computer Security Resource Center, Glossary: data loss preventionReviewed 16 Nov 2026
- Microsoft Learn, Learn about data loss preventionReviewed 16 Nov 2026
- Microsoft Learn, Learn about Endpoint data loss preventionReviewed 16 Nov 2026
- NIST, CSWP 29, The NIST Cybersecurity Framework (CSF) 2.0Reviewed 16 Nov 2026