In short
- Outside simple patterns such as card numbers, a precise DLP rule depends on a classification decision.
- The gaps sit in business-system exports, legacy shares, conversions and copy and paste.
- Test one decoy under several labels and in several forms, then send each failure to the team that owns it.
A sensitivity label, the most common form of data classification, belongs to the file, not to the text inside it. Paste three paragraphs from a Confidential document into a new file and the label stays behind, so a DLP rule keyed to Confidential has nothing to match and the text leaves without an alert.
Classification tells the DLP what to protect. Missing, incomplete or wrong, it leaves the rule blind: one of the commonest sources of false negatives.
The signals a DLP rule relies on
A DLP engine has no idea a file is confidential. It applies conditions, which fall into four families (in brackets, the Microsoft Purview name for each):
| Mechanism | Principle | Strength | Main limitation |
|---|---|---|---|
| Sensitivity labels | Metadata applied to the file or message by hand, by default or automatically | Easy to use in rules, readable by the user | Only worth anything if the label is applied, correct and preserved |
| Document fingerprints | Signature computed on a reference document: a form, a standard contract (document fingerprinting) | Recognises a specific piece of data, even when renamed | Reference corpus to maintain, sensitivity to transformations |
| Exact data match | Comparison with hashed real values: customer numbers, identifiers (Exact Data Match) | Very few false positives | Scope limited to the imported data sets |
| Patterns and keywords | Regular expressions, dictionaries, built-in sensitive information types (payment card, IBAN) | Broad coverage without preparation | High noise, easily defeated by an unexpected format |
The first three need a decision made upstream: this data is sensitive. The fourth recognises a shape. Trainable classifiers in Purview, and the machine-learning classifiers other vendors ship, sit in between: fed with examples, they learn a category of document, and make mistakes too. Patterns do much of the blocking on card numbers and IBANs; for a drawing or a contract, the precise rule nearly always needs classification first.
Labels: effective, provided they exist
Labels are the most direct lever. A rule such as “block any document labelled Confidential from being sent externally” is clear, auditable and easy to explain to the board. Where it falls down is coverage.
Where labels are missing
- Legacy data: network shares and document spaces that predate the classification project often remain unlabelled.
- Data generated outside office tools: CSV exports from an ERP, SQL extracts, application logs, screenshots, which rarely get a label.
- Copy and paste: into a chat window or a prompt as much as into a new file.
- Manual labelling under pressure: when the user chooses, they often pick the lowest level so nothing gets in their way. In Purview, the label policy setting that makes users justify removing a label or lowering its classification slows this down without stopping it.
- Conversions: in Microsoft 365 apps, saving a labelled Word file as PDF keeps the label; sending it through Microsoft Print to PDF does not. Archives and other format changes vary by tool.
A rule built on labels alone looks complete on the dashboard and sees nothing on a share full of CSV exports.
Fingerprints: precise, but fragile
Document fingerprinting does a different job: it recognises specific content, such as a contract template, a technical data sheet or a patient record format, and it does not depend on the user.
Teams that use it know its weaknesses well:
- the reference corpus goes stale if nobody owns its updates;
- the similarity threshold is a compromise: set it too strict and it misses variants, too loose and it floods you with useless alerts;
- some transformations of the content (partial extraction, rewording, change of structure) can push the document below the threshold.
Scenario: a “completed” classification that misses what matters
At a mid-sized manufacturer, classification has four levels, a default label of “Internal” and automatic labelling for a few types of personal data. The DLP rule blocks “Confidential” and “Secret” documents from going outside.
Manufacturing drawings come out of the PLM on demand as PDF, STEP or DWG files, often zipped for a subcontractor. The exports carry no label, and nobody has fingerprinted them because they do not look like office documents. A pattern on the part-number format in the title block would have given the DLP something to match, provided the engine can extract text from the exported format; check that format by format. Nobody notices, because nothing triggers an alert, and no alert gets read as no leak.
This is how most DLP false negatives happen: the rule works, just not on the data that matters. For manufacturing settings, see also protecting intellectual property against exfiltration.
Consequences for testing
A test that ignores classification measures the DLP badly. Three mistakes turn up in most test plans.
Mistake 1: testing only with perfectly labelled data
Sending a file marked “Confidential” and watching it get blocked proves the rule exists. It tells you nothing about the real data moving around without a label.
Diagram · one decoy, three states
Mistake 2: testing with real data
To check that a customer list is recognised, it is tempting to use a real one. Do not. Realistic synthetic data built to trigger the same mechanisms (format, structure, label, fingerprint) is enough and removes the risk. We cover this in our article on synthetic data in production.
Mistake 3: testing once, at deployment
Classification drifts. The ERP gains a new export format after go-live, a department moves its shares to SharePoint, a label gets renamed. Any of it can open a gap your first test never saw.
A test that accounts for classification, step by step
- For each category of sensitive data, identify the mechanism that is supposed to recognise it (label, fingerprint, exact match, pattern).
- Prepare decoys in several states: correctly labelled, labelled at the lower level, unlabelled.
- Send the same decoys again after common transformations: format conversion, archive, partial extract, copy and paste.
- Cover the real egress channels: email, browser, cloud storage, endpoint, network.
- For each case, record what left and what arrived, then check the DLP logs: blocked, alert only, or nothing.
- Route failures to two separate teams: the one that configures the DLP and the one that owns the classification.
Illustrative example, made-up figures: one decoy contract in three states and three forms (DOCX, PDF, pasted extract), so nine uploads over HTTPS. Nine attempted, seven transmitted, seven collected. The DLP logs show two blocks, the Confidential DOCX and PDF, and nothing on the other seven: the label did all the work, the content none.
Routing failures to two teams is the step most often skipped. A failed test may point to a classification gap rather than a faulty DLP rule, in which case the fix belongs to another team. For the general method, see how to test your DLP and find out whether it really blocks, and the reference page on data exfiltration testing.
Next step
Before you vary the labels, measure the exit path
The guided demo, 30 minutes on pre-built results, walks through a campaign over the 8 channels and its report, so you can judge the method before touching a single label; nothing is installed and we get no access to your environment. The POC, quick and usually free, then runs a standard scenario with synthetic data from a machine on your network, through your real egress controls. If the classification project needs evidence from production, a paid pilot measures what gets out of a limited part of it.
Should you wait for a perfect classification before testing?
No. Testing is one of the better ways to decide where classification work should go first. It shows which categories of data leave unrecognised, on which channels, and so where labelling or fingerprinting pays off. Waiting for complete classification means months of blind spots on a project few teams ever finish.
Frequently asked questions
Can a DLP work without data classification?
Partially. Patterns and keywords detect certain types of data (numbers, identifiers) without prior classification, but with a lot of noise and coverage limited to predictable formats. Specific business data, such as drawings or contracts, requires a label, a fingerprint or a trained classifier.
What is the difference between a label and a document fingerprint?
The label is metadata applied to the file and can disappear during a conversion or a copy and paste. The fingerprint is computed on the content itself from a reference corpus: it recognises the document even without a label, as long as the content remains close enough to the original.
How do I know whether my classification is good enough for the DLP?
Test it at the point of egress: decoys that stand in for your sensitive data, in several classification states, through your real channels, then a read of your DLP logs. The coverage figure from the classification tool counts the files that were labelled, not the ones that should have been.
Who should fix a failure linked to classification?
A missing label usually sits with the data owners or the classification project; a badly targeted rule, with the team that runs the DLP. The finding should name one or the other.

