BlogUpdated

Classifying sensitive data: 4 levels, DLP and pseudonymization

Classifying sensitive data: 4 levels, DLP and pseudonymization

You can only protect well what you have identified. Data classification means finding, categorizing and labeling information according to its sensitivity, so you can apply proportionate protection: who can access it, does it need encrypting, can it leave the company, can it be sent to an AI?

Without classification, a data loss prevention (DLP) policy is like installing sensors without knowing what they should detect: too many pointless alerts, and the real leaks still get through.

This guide, for CISOs, IT directors, DPOs and lawyers, covers what sensitive data means under the GDPR, a four-level taxonomy, automatic detection, the controls to attach to each level, and protecting outgoing data: blocking, encryption, quarantine, pseudonymization.

The golden rule: four levels everyone understands are better than ten levels nobody applies. And each level must trigger concrete controls, or the label is just decoration.

Key takeaways

PointDetails
"Sensitive data" has a precise meaningThe special categories in article 9 of the GDPR, plus data with high business stakes.
Four levels are enoughPublic, internal, confidential, restricted.
Detection must be hybridAutomatic analysis of content and context, human review of ambiguous cases.
Each level triggers controlsFrom simple access control to mandatory pseudonymization before any external processing.
Outgoing data is the critical momentPasting into an AI, email, sending to a provider: that is where DLP acts.

Table of contents

What is sensitive data under the GDPR?

The GDPR refers to special categories of data (article 9): racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data used to identify a person, health data, sex life and sexual orientation. Data relating to criminal convictions and offenses falls under a similar regime (article 10).

Processing it is prohibited in principle. To process it lawfully, you need both a legal basis under article 6 and one of the exceptions in article 9(2): explicit consent, obligations under employment law, public interest in the area of health, and so on.

In a company, this data often hides where you least expect it: an HR file that mentions long-term sick leave, a biometric access badge, a health insurance form handled by payroll, a union dues deduction on a payslip.

In practice, a classification policy adds data with high business stakes to these legal categories: trade secrets, unpublished financial data, individual payroll data, strategic contracts.

Why classify before protecting

Classifying first lets you set fair access rules, based on the real level of sensitivity rather than assumptions. Data loss prevention tools then generate fewer pointless alerts, and security teams wear themselves out less sorting through them.

Classification also provides traceability, which is valuable during a regulatory inspection or an audit. And it gives users simple decisions: "this document is restricted, it doesn't go to an AI without being pseudonymized".

Four classification levels

LevelTypical contentConsequence of a leak
PublicPress releases, brochures, published contentNone
InternalOrg chart, internal memos, team meeting notesLimited embarrassment
ConfidentialCommercial contracts, unpublished financial data, customer filesHarm to the company or a third party
RestrictedSpecial categories (article 9), individual payroll data, industrial secretsDirect regulatory penalty, serious harm

Three questions are enough to place a document: what would be the financial impact of a leak? What legal risk? What reputational damage?

Pro tip: Don't go beyond five levels. A taxonomy that business teams can't understand at a glance always ends up misapplied, however sophisticated the tools.

Detecting and labeling automatically

Manual classification quickly hits its limits: beyond a few thousand documents, it becomes unmanageable and errors pile up.

Two approaches work together. Content analysis relies on regular expressions for known patterns (social security numbers, IBANs), and on models that can recognize a medical or legal context without an explicit keyword. Context analysis looks at everything around the file: its location, its author, the application that created it, the department concerned.

The most robust setup is hybrid. Automatic detection runs over the whole scope first. Human review then focuses on ambiguous or high-stakes cases, never on everything. Every reported error is then used to refine the rules or the model. Real cases are analyzed in 8 examples of HR data breaches.

Pro tip: Automatic labeling with no way to correct it manually always ends up misclassifying legitimate documents. Build that mechanism in from the design stage.

Launching a classification project

A project that aims for completeness in the first quarter almost always fails.

The project starts with the taxonomy: the levels, the decision criteria and who signs off. Then inventory the locations (file servers, collaboration spaces, data rooms), without forgetting shared mailboxes.

Next comes automatic discovery of sensitive content, then labeling, with human review of borderline cases. Apply the controls specific to each level, and monitor and adjust continuously.

Start with the high-risk locations (HR, health, finance): that is where the effect is most visible.

Indicators to track: the share of locations inventoried, labeling accuracy, time to fix an anomaly, and the rate of false positives reported by business teams.

The controls to attach to each level

LevelControls
PublicVersion control to avoid publishing by mistake
InternalAccess reserved for members of the organization
ConfidentialEncryption at rest, role-based access, logging of access
RestrictedSystematic encryption, attribute-based access, masking, mandatory pseudonymization before any analytical processing, sending to an AI or sharing with a third party

The point of a label is that it can trigger a rule automatically: a document labeled "restricted" cannot be attached to an external email, or is pseudonymized before being sent to an AI assistant.

Pseudonymization has a special place: it lets you keep working on a restricted document (analyze it, summarize it, share it with a provider) without exposing identities, while keeping the ability to return to the original data.

Protecting outgoing data (DLP)

Data loss prevention for outgoing data automatically detects and handles sensitive data before it leaves the perimeter: email, file sharing, uploads to an online service, pasting into an AI interface.

It works in three stages: inspect the content, decide based on the applicable rule, act.

The possible actions

ActionWhen to apply itAdvantageLimit
BlockRestricted data, unauthorized recipientNo risk of a leakCan block legitimate flows
EncryptAuthorized sending over an insecure channelConfidentiality in transitKey management to plan
QuarantineAmbiguous case, approval neededHuman controlDelay
PseudonymizeAI use, external review, collaborationControlled reversibilityMapping table to protect
AnonymizeArchiving, statistics, publicationMaximum protectionNo way back
WarnModerate riskRaises awareness without blockingDepends on discipline

For the first few weeks, prefer warning mode over blocking. You refine the rules on real data without disrupting business teams, then tighten gradually.

The critical point: AI

Data in use, especially pasting into an AI interface, is now one of the main leak vectors. An employee who pastes a contract into an assistant goes through neither email nor file sharing.

SituationRecommended treatment
Sending a document to an outside AI assistantPseudonymize before sending, keep the table internally
Internal collaboration between teamsPseudonymize, with restoring possible for authorized people
Sharing with a provider or an auditorPseudonymize, with a documented re-identification procedure
Archiving with no need to re-identifyAnonymize

See also: Shadow AI by the numbers.

Avoiding silos

A technician monitors the data leaving a workstation

A fragmented policy (one module for email, another for the web, a third for APIs) creates blind spots and contradictory rules. A unified approach, based on the same classification, is simpler to govern.

Before choosing a tool, check that it inspects encrypted web traffic and handles PDFs, Word files and data rooms. It should also offer API or MCP connectors for application flows, centralized and exportable logs, documented key management, and latency compatible with your critical flows.

Deploying a DLP solution

Deployment begins with an audit of sensitive data, its outgoing flows and the risk surfaces. Then test on a limited scope, measuring false positives, latency and the block rate.

It is better to start in warning mode, then gradually turn on blocking and pseudonymization for the riskiest flows. The rules are reviewed every quarter.

A few questions help you judge a vendor quickly. Does it have a GDPR-compliant data processing agreement, with processing located in Europe? Where are logs stored, and how can they be exported? How does restoring work after pseudonymization, and are documents kept after processing? And which data types do its detectors cover in the languages you work in?

The most common mistakes

The most common mistake is trying to classify everything at once, rather than starting with the risk areas. The second is unclear governance: nobody knows who approves the levels. You also find the fifty-page policy nobody reads, where one clear page would do, and labels that non-technical teams can't understand.

Two mistakes show up later: no review after launch, even though data and uses change, and a DLP that ignores AI and only monitors email.

Safe-doc in your classification policy

Safe-doc

A classification policy needs a simple action for the "confidential" and "restricted" levels: pseudonymize before anything goes out. Safe-doc provides that action and nothing else; it replaces neither your classification tool nor your DLP.

Users trigger it from the web interface, and your automated flows call it through the API or the MCP server. Documents (PDF, Word, spreadsheets, text) are not kept after processing, and the mapping table stays under your control. See the security page and the integrations.

Frequently asked questions

What is sensitive data under the GDPR?

Data in the special categories of article 9: health, origin, political opinions, religious beliefs, trade union membership, genetic or biometric data, sex life and sexual orientation.

How many classification levels should you have?

Four are enough in most organizations: public, internal, confidential, restricted.

What is DLP?

Data loss prevention: a set of controls that detects sensitive data and blocks, encrypts, quarantines or pseudonymizes what leaves the company's perimeter.

Should you block or pseudonymize?

Block when the recipient is not authorized; pseudonymize when the use is legitimate (AI, a provider, collaboration) but the identities are not needed.

How do you classify documents automatically?

By combining content analysis (patterns, recognition models) with context analysis (location, author, department), plus human review of ambiguous cases.

Further reading

Sources