Data anonymisation (spelled anonymization in US English) transforms personal data so that no one can identify the person it was about, by any means reasonably likely to be used. Names are dropped, exact details become broader ones, and what is left can be studied, shared or published without pointing back to a person.

The reason it exists is that organisations want to learn from their data without exposing the people in it. An analytics team wants to know which age groups buy which products in which regions, and a researcher wants to compare outcomes across a population, but neither needs to know who any individual is. The difficulty is that removing the obvious identifiers is rarely enough, because the details left behind can still point to one person.

Anonymisation is one member of the family of data obfuscation techniques, and it sits under CISSP Domain 2, Asset Security, where the ISC2 exam outline asks candidates to determine data security controls, alongside the privacy material in Domain 1. This guide explains what anonymisation is, how it works on one record, where it goes wrong, and how it differs from its nearest neighbour, pseudonymisation.

What is anonymisation?

Anonymisation is a transformation of personal data that is irreversible and that leaves no one identifiable. The General Data Protection Regulation, the EU’s data protection law, protects personal data: information about a person who is identified or can be identified. Recital 26 of GDPR says that truly anonymous information falls outside the regulation, because it no longer relates to an identifiable person.

Recital 26 also sets the test. To decide whether a person is identifiable, account is taken of all the means reasonably likely to be used, by the organisation or by anyone else, including singling one person out and combining the data with other available information. A record does not need a name to be about an identifiable person.

Three properties follow:

  • No way back. No key, no lookup table and no mapping is kept that would let anyone restore the identity.
  • No one singled out. The remaining fields, alone or together, should not narrow the data down to one person.
  • Judged in context. What other data exists, who holds it and how small the groups are decide whether the result is anonymous.

How anonymisation works on one record

Take one customer record (sample data, not a real person or card). The record has two rows: a name and a card number, then the customer’s gender, date of birth and postcode.

FieldOriginal recordAnonymised output
NameGagan SinghDropped
Card number4539 1488 0353 6467Dropped
GenderMaleMale
Date of birth14 Mar 198340 to 45
PostcodeWC1B 3DGLondon region

In this example, anonymisation starts from a copy of the record. The name and the card number are dropped completely, because they identify the customer directly. The gender stays as it is. The exact date of birth is replaced by an age band, and the full postcode is replaced by a region. The output line reads Male, 40 to 45, London region.

No lookup table records which customer became which line, so there is no way back from this copy. But the missing table alone does not make the data anonymous. The output still has to be checked against other data: if only one man aged 40 to 45 in the London region appears in the data set, or if some other available source can narrow the line down to one person, the customer is still identifiable.

Common anonymisation techniques

A real anonymisation job usually combines several techniques:

  • Generalisation: replace an exact value with a broader one, such as a date of birth with an age band, as in the record above.
  • Suppression: remove a field, or a whole record that stays unique after generalisation.
  • Aggregation: publish totals, counts or averages instead of individual records, for example the number of customers aged 40 to 45 in each region. Tables built this way often withhold cells based on very few people, a practice called cell suppression.

Two formal models give these techniques a measurable target. k-anonymity requires that every combination of identifying fields in a released data set is shared by at least k records, so no one can be narrowed to fewer than k candidates. Differential privacy works on results rather than records: it adds carefully scaled random noise, so that a published result changes very little whether or not any one person’s data was included. Both still depend on the choices made when they are applied.

Where anonymisation is used

Anonymisation is the usual answer when data is wanted for its patterns, not for the people in it:

  • Analytics, where a team studies customer behaviour by age, region or product.
  • Research, where outcomes are compared across a population.
  • Official statistics, where census and survey results are published as tables.
  • Open data and sharing, where a data set is released to the public or to a partner.

In each case the question is whether anyone using the data needs to know who the person is. If not, anonymisation may fit. Collecting less in the first place, the principle of data minimisation, reduces how much needs to be anonymised later. Deciding whether a data set may be released belongs to the data controller and the data owner, not to the team that runs the transformation; the data security roles guide explains who decides what.

Where anonymisation goes wrong

Anonymisation fails quietly: the output looks anonymous until someone links it to something else.

Removing names is not enough

Deleting names, card numbers and account numbers removes the direct identifiers, but fields that look harmless on their own can still point to one person in combination. Research has shown how strong this effect is: Latanya Sweeney’s work in the United States estimated that ZIP code, full date of birth and gender together are enough to identify around 87 percent of the population uniquely. A data set that keeps those three fields exactly as recorded has removed the name and kept the person. This is the same problem as aggregation in database security, so those fields are generalised or dropped as well.

Anonymity depends on context

The same output can be anonymous in one setting and identifying in another. A line such as Male, 40 to 45, London region hides one person among many in a large customer base, but in a small group, such as a single office or a small village, the same detail may describe exactly one person. Other available data, such as a public profile or a second released data set, can also narrow a line down until only one person fits.

The organisation still holds the original

An organisation that anonymises a copy usually keeps the original records. While it holds them, it may be able to match the “anonymous” data back to its customers, which can leave the people identifiable to that organisation.

Anonymisation is assessed, not just applied

Running a tool once does not settle the matter. The result has to be assessed and tested, for example by trying to single people out or link the output to other sources, and a release may need assessing again as new data becomes available.

Anonymisation vs pseudonymisation

Anonymisation’s nearest neighbour is pseudonymisation, and the two are easy to confuse because both remove the name from view.

AnonymisationPseudonymisation
What happens to the nameDroppedSwapped for a code, such as Customer 48213
Lookup tableNone existsKept separately, and protected
Can the identity be restored?Not by any means reasonably likely to be usedYes, by whoever holds the lookup table
Status under GDPROutside GDPR, when truly anonymousStill personal data
Main weaknessRemaining fields can combine with other dataThe lookup table, and any field that still identifies

In pseudonymisation, the name becomes a code and a separate table records which code belongs to which customer. GDPR treats that as a safeguard that lowers risk, but the data is still personal data, because whoever holds the table can restore the identity. Anonymisation keeps no table at all, and even so the remaining fields still have to pass the identification test.

Anonymisation and static masking

Static data masking and anonymisation are both irreversible in intent. The difference is the goal: masking makes a usable fake copy for development and test, while anonymisation removes the link to a person for analysis or release.

How a CISSP scenario may test anonymisation

Scenarios on data obfuscation tend to describe a business need and ask which technique meets it. The point to hold is that the test for anonymisation is identification, not only reversal. A few patterns are worth recognising:

  • Data is to be published or shared for analysis with no need to know who anyone is. That points towards anonymisation.
  • Names have been removed and the scenario asks whether the data is now anonymous. A candidate is expected to see that the remaining fields may still identify someone.
  • A lookup table or key is kept so that records can be re-linked later. That is pseudonymisation, and the data is still personal data.
  • A small group or a second data set appears in the stem. The answer is likely to turn on context and re-identification risk.

Asking four questions usually separates the options: does the original need to come back, who may bring it back, is the stored data changed or only what is shown, and what other data could identify the person. For anonymisation the answers are: no, no one, the data is changed in the copy that is released, and every remaining field must be checked against other available data, because that last answer decides whether the result is anonymous at all.

Conclusion

Anonymisation lets an organisation learn from its data without exposing the people in it, and when it is done properly it takes the data outside GDPR. The two things to remember are that removing names is not enough, because harmless-looking fields combine, and that anonymity depends on context, so the result has to be tested against the data that is available rather than assumed to be safe.

Ready to test that under exam conditions? Our LSM CISSP practice tests are built around scenario questions like these: choosing the right data protection technique for the business need, and spotting the “anonymous” data set that still identifies people, with full explanations for every answer.

Quick reference for the CISSP exam

Anonymisation is judged by whether a person can still be identified, not only by whether it can be reversed, so it is assessed and tested, not just applied.

Anonymisation defined

  • What it does: transforms personal data irreversibly, so no one can identify the person by any means reasonably likely to be used.
  • Way back: none by design; no key and no lookup table.
  • Under GDPR: truly anonymous data falls outside the regulation (Recital 26).
  • The test: identification, not only reversal, from this data alone or combined with other available information.

The anonymisation vs pseudonymisation discriminator

  • Anonymisation: no lookup table, no one reasonably singled out.
  • Pseudonymisation: a lookup table exists, so the data is still personal data.

The traps

  • Removing names is not enough; postcode, date of birth and gender can re-identify people.
  • Anonymity depends on context: small groups, other available data, the original still held.
  • Anonymisation is assessed and tested, not just applied.