Appearance
Masking, tokens and their limits
Last reviewed: 30 November 2026
In short: masking replaces names and identifiers with placeholders or tokens, so an AI can count, group and compare without seeing the originals. Masked data is not anonymous. Detectors miss values, and amounts, dates and other details can still point to a person. Treat masked data as personal data.
Why it matters
There are a few ways to mask a value:
| Technique | What the AI sees | Trade-off |
|---|---|---|
| Remove the column | Nothing | Safest, but the AI can't use it at all |
Placeholder ([masked]) | That a value existed | It can't group or count by it |
Consistent token (CUSTOMER_7F3A9C1B) | The same token wherever the same value appears | It can group, rank and join, and so can anyone else who sees the tokens |
The UK ICO defines tokenisation as "replacing sensitive data with unique tokens or identifiers", usable "as a pseudonymisation technique for analysis without revealing the original values."
Pseudonymised data stays personal data:
- The European Data Protection Board says pseudonymised data that could be attributed to a person with additional information "is to be considered information on an identifiable natural person, and is therefore personal". That "also holds true if pseudonymised data and additional information are not in the hands of the same person."
- The ICO agrees: "Pseudonymous information is still personal data and the law applies to it."
Two reasons why:
- Singling out. The ICO says a person is still identifiable if you can "isolate the records that relate to a person from a dataset", even without a name. A token next to "Head of Sales, joined March 2019, salary 142,000" identifies someone at a small company.
- Linkability. Masked records can be combined with other information. The ICO cites researchers who identified known users' records in the Netflix Prize dataset by comparing it with the Internet Movie Database.
Detection-based masking has a further limit: a value the detector doesn't recognise isn't masked.
What to do
| Control | Owner | Test | Evidence |
|---|---|---|---|
| Decide per column: remove, mask the whole column, or detect values within it. Mask whole columns that are always sensitive (names, account numbers) rather than relying on detection. | Data owner | Review the column decisions for a sample file. | Column decisions |
| Measure the detector. Run files with known sensitive values through it, and count what it misses, especially in free-text columns. | Data protection lead | A test set with a known number of values. | Miss count, dated |
| Look for quasi-identifiers: combinations of job, date, amount, location or rare categories that single someone out. | Data protection lead | Try to identify three people in a masked sample using only what is left. | Exercise notes |
| Keep token keys secret and separate from the masked data. The EDPB says lookup tables "are personal data since they allow the identification of data subjects" and must be protected. | System owner | Check who can reach the key or mapping. | Access list |
| Don't call masked data anonymous, in documents, contracts or to users. | Privacy lead | Review user-facing wording. | Reviewed wording |
| Limit who can see masked copies. They are still personal data (Retention and sharing masked copies). | Data owner | List who can open or download them. | Access list |
How to check it
Take a real file, mask it, and give it to a colleague who knows the business but not the file. Ask them to name anyone they can. Every success shows a quasi-identifier to deal with.
Limits
- No detector finds everything. The miss rate on your files is the number that matters, not a vendor's average.
- Consistent tokens are deliberately linkable. That is what makes analysis possible, and also what makes re-identification easier.
- Deleting the mapping doesn't make data anonymous. The EDPB: the data "can be considered anonymous only if the conditions for anonymity are met."
How Angel handles this
How Angel masks:
- A detector service finds sensitive values and gives each column a class. Columns whose class is sensitive are masked whole; elsewhere, the values the detector finds are masked.
- A self-serve workspace's protection profile can mask more, never less. For example, health data also masks every date and free-text column.
- Each masked value becomes a token: the same value always gets the same token within a company, and a different one in another company.
- Angel keeps no table mapping tokens back to values. Its token key is held outside the database.
The limits:
- A value the detector misses, in a column not masked whole, is stored and shown as uploaded.
- By design, Angel leaves some ledger terms readable, such as account titles, public bodies and lenders' names. Account numbers next to them are still masked.
- Tokens are pseudonyms, not anonymisation. Amounts and dates can still single out a customer to someone who knows the business.
See Angel's security page.
Sources (checked 30 November 2026)
- EDPB, Guidelines 01/2025 on Pseudonymisation (version for public consultation, 17 January 2025)
- ICO, Introduction to anonymisation (marked as under review)
- ICO, How do we ensure anonymisation is effective?
- ICO, Anonymisation glossary
- OWASP, LLM02:2025 Sensitive Information Disclosure