A research team replaces patient names with codes and keeps the list linking codes to names on a separate locked server. The team leader says the data set is now anonymous and outside data protection law.
Privacy by design, shared duties and design reviews
Three commitments are made before a system is built, and each settles who must do what. Privacy by design builds the protection of personal information into the first sketch. Shared responsibility writes down which party secures which part of a service bought from a provider. A well-architected framework is a published checklist for reviewing the design. No technical background is assumed.
By the end of this unit you will be able to:
- Explain privacy by design and name its seven foundational principles
- Tell apart pseudonymisation, anonymisation and aggregation
- Explain shared responsibility and state what always stays with the customer
- Describe a well-architected framework and what a pillar is
- Choose the design that protects privacy when another answer repairs it afterwards
A class-booking app that knew too much
An illustrative example
A gym chain commissions an app for booking classes. At sign-up the app asks every member for a date of birth, a home address and a health questionnaire, because the data might be useful one day. Location tracking is switched on unless the member finds the setting and turns it off.
A year later the regulator asks the chain two questions. Why does a booking app hold health answers for 40,000 people? And why were members tracked on their way home?
Which of these choices could have been made differently on the first day of design, at no extra cost?
Privacy built in, not added afterwards
A house with the wiring planned on the drawings is safer and cheaper than one rewired after the walls are plastered. Privacy by design applies that thought to : the protection is part of the first design, and the most protective setting is the one a person gets without doing anything.
The idea was set out by Ann Cavoukian while she was Information and Commissioner of Ontario, in Canada. European Union law now requires it. Article 25 of the General Data Protection Regulation (GDPR) is headed data protection by design and by default.
The cheapest protection is data minimisation: collect only what the stated purpose needs, and keep it only as long as that purpose lasts. Data that was never collected cannot be stolen, misused or demanded by a court.
The seven foundational principles
| Principle | What it asks | In the app |
|---|---|---|
| 1. Proactive not reactive; preventative not remedial | Foresee privacy harms and prevent them before they happen | Ask what could go wrong with health answers before collecting any |
| 2. Privacy as the default | Give the most protective setting with no action by the person | Location tracking is off until a member turns it on |
| 3. Privacy embedded into design | Make privacy part of the system's structure, not an add-on | The booking screens never request a home address |
| 4. Full functionality: positive-sum, not zero-sum | Deliver privacy and the business aim together, without trading one for the other | Members book classes as easily as before |
| 5. End-to-end security: life cycle protection | Protect the data from collection to secure destruction | Records are deleted when a membership ends |
| 6. Visibility and transparency | Operate as promised, and let that be checked | A plain notice says what is held and why |
| 7. Respect for user privacy | Keep the individual's interests central, with clear choices | A member can see and correct their own record |
The fourth principle is the one most often misread. It rejects the claim that privacy must cost functionality or security. A design that protects privacy by making the service unusable has failed it.
Privacy-enhancing technologies
Privacy-enhancing technologies are methods that let data be used while revealing less about the people in it. Three older methods are confused with one another.
| Method | What is done | Can a person be found again? |
|---|---|---|
| Pseudonymisation | Names and other identifiers are swapped for a code, and the list linking codes to people is kept apart | Yes, by whoever holds the list. It is still personal data |
| Anonymisation | Every link to a person is removed for good | No, if done properly. Rare details such as age and postcode together can undo it |
| Aggregation | Records are combined into totals or averages for groups | Not from a large group. A group of two or three gives its members away |
Newer methods rely on mathematics.
- Differential privacy
- A measured amount of random noise is added to results, so that no answer shows whether one particular person is in the data.
- Homomorphic encryption
- Calculations are run on data while it stays . The party doing the calculating never sees the .
- Secure multiparty computation
- Several parties work out a joint result without showing each other their own figures. Three firms can learn their average salary without revealing any one firm's.
- Zero-knowledge proof
- One party proves a fact without revealing the data behind it: that a customer is over 18, without the date of birth.
Common misconception
“Data with the names replaced by codes is anonymous, so privacy law no longer applies.”
Replacing names with codes is pseudonymisation. Anyone holding the linking list can restore the names, so the data is still personal data and still needs protecting. Only data that cannot be linked back to a person is anonymous.
Well-architected frameworks: a published design review
A surveyor inspects a house against a standard list: structure, damp, wiring, drains. A well-architected framework is the same kind of list for a system built on a cloud provider's services. The provider publishes design principles and review questions, grouped under headings called pillars.
The thing reviewed is a workload: one application or service together with everything it runs on.
| Provider | Pillars |
|---|---|
| Amazon Web Services | Operational excellence, security, reliability, performance efficiency, cost optimisation, sustainability |
| Microsoft Azure | Reliability, security, cost optimisation, operational excellence, performance efficiency |
A review takes each pillar in turn, records where the design falls short and ranks the shortfalls as for the owner to accept or fix. Security is one pillar among several, and the pillars pull against each other. A second copy of a system in another country improves reliability and raises cost. The framework's purpose is to make those trades in the open.
A framework of this kind is guidance. It is not a law, a certification or an audit standard, and following it does not move any duty from the customer to the provider.
A question, worked through
A city council is commissioning an app for residents' parking permits. The supplier proposes to collect each resident's full date of birth, to confirm that the applicant is an adult, and to keep it in case of disputes. The council's data protection officer objects. The budget is fixed and the app must open in three months.
Which change BEST applies privacy by design?
Decide on your answer, then open the reasoning
- The purpose is to confirm that an applicant is an adult. The question asks which change best builds privacy into the design.
- Rule out c. A notice is transparency, the sixth principle. It tells residents about the collection and leaves the collection as it is.
- Rule out d. A retention limit shortens the exposure. For two years the council still holds data the purpose never needed.
- Between a and b: encryption protects the dates of birth once they are held. Recording only yes or no means they are never held, and the purpose is still met in full.
- Option a is data minimisation. It is proactive, it is the default, and it costs nothing in functionality, so it applies the principles the others leave untouched.
Answer: A. Record only a yes or no that the resident is an adult
Choosing between good answers
- One answer avoids collecting personal data and the others protect it after collection
- choose not collecting, as long as the stated purpose is still met.
- A privacy setting could ship switched on or switched off
- choose the protective setting as the default. The person should not have to act to be protected.
- Names have been replaced by codes and a linking list exists
- treat the data as pseudonymised and still personal. Anonymous means nobody can link it back.
- A cloud breach follows from a setting, an account or data the customer controls
- the customer is responsible, and remains accountable whatever the provider runs.
Check your understanding
4 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 4
What to remember
- Privacy by design builds protection of personal information into the first design and makes the protective setting the default.
- The seven principles: proactive; default; embedded; full functionality; end-to-end security; visibility and transparency; respect for the user.
- Pseudonymised data can be linked back by whoever holds the list. Anonymised data cannot. Aggregated data hides people only in large groups.
- Under shared responsibility each party secures the part it controls. Data, identities and configuration always stay with the customer.
- A well-architected framework is a provider's published set of design principles and review questions, grouped into pillars. It is guidance, not certification.
Say it from memory
What is privacy by design, what are its seven foundational principles, and what is a privacy-enhancing technology?
Protection of personal information built into a system from the first design, with the protective setting as the default. Principles: proactive not reactive; privacy as the default; privacy embedded into design; full functionality; end-to-end security; visibility and transparency; respect for user privacy. A privacy-enhancing technology lets data be used while revealing less: pseudonymisation, differential privacy, homomorphic encryption.
What is shared responsibility, and what stays with the customer whatever is rented?
When a service is run by more than one party, each secures the part it controls and the split is written down. A cloud provider secures more as the customer moves from infrastructure to platform to software as a service. The customer always keeps its data, its identities and its configuration settings, and it remains accountable.
What is data minimisation, and why is it the cheapest protection?
Collect only what the stated purpose needs, and keep it only as long as that purpose lasts. Data that was never collected cannot be stolen, misused or demanded by a court. GDPR Article 25 requires data protection by design and by default.
How do pseudonymisation, anonymisation and aggregation differ, and which is still personal data?
Pseudonymisation swaps identifiers for a code and keeps the linking list apart; whoever holds the list can find the person, so it is still personal data. Anonymisation removes every link to a person for good. Aggregation combines records into totals or averages for groups, and a group of two or three gives its members away.
Sources
- Privacy by Design: The 7 Foundational Principles, Implementation and Mapping of Fair Information Practices, Ann Cavoukian, Information and Privacy Commissioner of Ontario (copy hosted by the IETF)The seven foundational principles of privacy by design, in order, and their author.
- Regulation (EU) 2016/679 consolidated text, European UnionArticle 25, data protection by design and by default; data minimisation; pseudonymised data remaining personal data while anonymous information falls outside the Regulation.
- Privacy-Enhancing Cryptography (PEC) project, NISTZero-knowledge proofs, secure multiparty computation and homomorphic encryption as techniques that let parties work with data without revealing unnecessary private information.
- NIST SP 800-188: De-Identifying Government Datasets, NISTDe-identification, re-identification risk in released data, and noise added to query results.
- Shared responsibility in the cloud, MicrosoftThe division of responsibility under IaaS, PaaS and SaaS, and that customer data, identities and configuration settings stay with the customer in every model.
- What is AWS Well-Architected Framework?, Amazon Web ServicesThe six pillars of the AWS Well-Architected Framework.
- Microsoft Azure Well-Architected Framework: pillars, MicrosoftThe five pillars of the Azure Well-Architected Framework and its review of a workload against them.