Match each method to the need it fits best.
Choose the match for each entry. Every match has to be right.
Every detail an organisation collects about a person is a detail it must then protect, keep accurate and one day destroy. The cheapest protection is not to collect what is not needed. Where data must be held, it can often be held in a form that reveals less. No background is assumed. A security professional needs the rules of fair collection and four methods that are easily confused: masking, tokenisation, pseudonymisation and anonymisation.
An illustrative example
A bakery with four shops launches a loyalty card. Its sign-up form, copied from a template, asks for name, email, home address, date of birth and mobile number. It also asks for a photograph of a driving licence, to stop people opening two accounts.
The bakery uses only the email address, to send a voucher after every tenth loaf. Two years later its sign-up website is broken into. The details and licence photographs of 9,000 customers are copied.
Which of the stolen details did the bakery ever need, and what would the thief have got if the form had asked only for those?
Data collection is the moment an organisation obtains information: from a form, a purchase, a camera, a sensor or another organisation. It is where the life of the data begins. What is decided here fixes how much there is to protect at every later stage.
Each item collected has a cost that lasts as long as the item does. It must be classified, stored safely, kept accurate, produced if the person it describes asks to see it, and destroyed on time. If the store is broken into, it is one more thing stolen.
The first control is therefore to collect less. The bakery needed an email address. Everything else on its form was with no return. A form that never asks for a passport number can never leak one.
Limiting collection in this way is often called collection limitation. The approves what a form or a system collects. The security professional's part is to ask, of each item, what it is for.
laws turn that good sense into duties. The European Union's General Data Protection Regulation (GDPR) is the usual reference, and many other laws follow its pattern.
Common misconception
“Personal data can be collected only with the person's consent.”
Consent is one lawful basis among six. An employer processes pay details under the employment contract and tax law, not by consent. Whatever the basis, the person must still be told.
The four rules apply together. A form can have a lawful basis and a clear notice and still fail, because it asks for more than its purpose needs.
Some data must be held, yet most of the people and systems that touch it do not need all of it. Four methods reduce what they see. De-identification is the general term for any process that removes the link between data and the person it describes.
Masking hides part of a value when it is shown or copied. A screen shows a card number as twelve stars and the last four digits. A copy of a customer database made for testing has every name replaced. The real value still exists in the original system.
Tokenisation replaces a value with a token: a stand-in with no meaning of its own, usually a random number of the same length. The real value is kept in one heavily protected store, the token vault, with the table that links each token to its value. Other systems keep and pass around only tokens. Payment cards are the standard use. A thief who copies a shop's tokens has nothing that can be spent.
Pseudonymisation replaces the details that identify a person, such as name and address, with a code. The list that links each code to a real person is kept separately and protected. A hospital gives researchers records under patient codes and keeps the list itself.
Anonymisation removes or alters data so that no person can be identified from it by anyone, and no list exists to reverse it. Published statistics, such as the number of patients each ward treated, are the usual result.
One purchase record, four ways
Masked: Asha Verma, card XXXX XXXX XXXX 9010, spent 42 pounds.
Tokenised: Asha Verma, card 7731 0098 4412 6605, spent 42 pounds. The card number shown is a token, and the real number is in the vault.
Pseudonymised: customer K-2041 spent 42 pounds. A separate, protected list says that K-2041 is Asha Verma.
Anonymised: 310 customers spent between 40 and 50 pounds in March.
| Method | What it does | Can it be reversed | Still personal data | Typical use |
|---|---|---|---|---|
| Masking | Hides part of a value on display or in a copy | Not from the masked copy. The original is unchanged | The original is | Card numbers on screens and receipts, test copies |
| Tokenisation | Swaps a value for a meaningless stand-in | For a random token, only by looking it up in the token vault | Yes, while the vault exists | Payment card numbers |
| Pseudonymisation | Swaps identifying details for a code | By whoever holds the list of codes | Yes | Research and analysis on records about people |
| Anonymisation | Removes the link to any person for good | No | No | Published statistics |
The legal line falls between the last two rows. The GDPR treats pseudonymised data as , because the list can restore the link. Truly anonymous information is outside the law altogether.
Anonymisation is harder than it sounds. Removing names is not enough when the details left behind can be matched against other sources. That matching is re-identification, a form of inference. A set of data is anonymous only when such matching has been tried and fails.
Tokenisation and differ in one way that matters. Encrypted data can be recovered by anyone who obtains the key, wherever the data is. A token drawn at random and kept in a vault cannot be worked back to its value by any calculation. The value is found only by asking the vault. Some systems make tokens by encrypting the value. Those tokens are encrypted data and are protected only as well as the key.
Mask to hide part. Tokenise to swap a value. Pseudonymise to swap an identity and keep the list. Anonymise to cut the link for good.
A hospital wants a university to study five years of treatment records, to find which patients are most likely to be readmitted. The researchers need each patient's age, conditions and admission dates across the five years. They do not need names or addresses. If the study flags a patient as high risk, the hospital wants to be able to contact that patient. The privacy officer asks how the records should be prepared.
Which method BEST meets the hospital's needs?
Answer: B. Pseudonymise the records and keep the list
A product collects more than its privacy notice says. Decide what to do when told to keep quiet.
Loading the preview.
5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 5
Match each method to the need it fits best.
Choose the match for each entry. Every match has to be right.
Collect only what the purpose needs: data minimisation. Tell people who is collecting, why and on what legal basis: notice. Have a lawful basis, of which consent is one of six under the GDPR. Use the data only for the purposes stated: purpose limitation. The data owner approves what is collected.
Limiting what is collected, because each item carries a cost for as long as it is held, and a form that never asks for an item can never leak it. The data owner approves what a form or a system collects. The security professional asks, of each item, what it is for.
Masking hides part of a value when it is shown or copied. Tokenisation replaces a value with a meaningless stand-in, keeping the real value in a token vault. Pseudonymisation replaces identifying details with a code, keeping the linking list separately. Anonymisation removes or alters data so no person can be identified by anyone, with no list to reverse it.
Pseudonymised data is still personal data, because the list can restore the link; truly anonymous information is outside the law. Encrypted data can be recovered by anyone who obtains the key. A random token cannot be worked back by any calculation; the value is found only by asking the vault.