Privacy by design, shared duties and design reviews

8 min 5 sections 4 practice questions 7 sources citedISC2 objective 3.1

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

Cavoukian's seven principles, in order, applied to the gym's app
PrincipleWhat it asksIn the app
1. Proactive not reactive; preventative not remedialForesee privacy harms and prevent them before they happenAsk what could go wrong with health answers before collecting any
2. Privacy as the defaultGive the most protective setting with no action by the personLocation tracking is off until a member turns it on
3. Privacy embedded into designMake privacy part of the system's structure, not an add-onThe booking screens never request a home address
4. Full functionality: positive-sum, not zero-sumDeliver privacy and the business aim together, without trading one for the otherMembers book classes as easily as before
5. End-to-end security: life cycle protectionProtect the data from collection to secure destructionRecords are deleted when a membership ends
6. Visibility and transparencyOperate as promised, and let that be checkedA plain notice says what is held and why
7. Respect for user privacyKeep the individual's interests central, with clear choicesA 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.

Three ways of holding data in a safer form
MethodWhat is doneCan a person be found again?
PseudonymisationNames and other identifiers are swapped for a code, and the list linking codes to people is kept apartYes, by whoever holds the list. It is still personal data
AnonymisationEvery link to a person is removed for goodNo, if done properly. Rare details such as age and postcode together can undo it
AggregationRecords are combined into totals or averages for groupsNot 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.

Shared responsibility: who secures which part

A tenant in a block of flats relies on the landlord for the roof, the walls and the lock on the street door. The tenant still locks the flat, decides who holds a key and answers for what is kept inside. Shared responsibility is that split applied to a service run by more than one party. Each party secures the part it controls, and the split is written into the contract.

The commonest case is cloud computing: computing rented over the internet from a provider. How much the provider runs depends on what is rented.

The split under three ways of renting computing
What is rentedThe provider securesThe customer secures
Infrastructure as a Service (IaaS): bare computers and storageBuildings, hardware and the software that divides one machine among customersThe operating system, the applications, the data, the accounts and the settings
Platform as a Service (PaaS): a ready place to run the customer's own programsAll of the above, and the operating systemIts own programs, the data, the accounts and the settings
Software as a Service (SaaS): a finished application, such as web mailAll of the above, and the application itselfThe data put in, the accounts and the settings

Three things stay with the customer in every row: its data, its identities, meaning the accounts and who may use them, and the configuration settings it controls. A storage area left open to the whole internet by a customer's setting is the customer's failure, not the provider's.

for a task can be handed to a provider. cannot. The customer still answers to its own customers and its regulator for what happens to their data.

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.

The pillars of two published frameworks
ProviderPillars
Amazon Web ServicesOperational excellence, security, reliability, performance efficiency, cost optimisation, sustainability
Microsoft AzureReliability, 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?

  1. Record only a yes or no that the resident is an adult
  2. Encrypt the dates of birth in the supplier's database
  3. Describe the use of dates of birth in the privacy notice
  4. Delete each date of birth two years after it is collected
Decide on your answer, then open the reasoning
  1. The purpose is to confirm that an applicant is an adult. The question asks which change best builds privacy into the design.
  2. Rule out c. A notice is transparency, the sixth principle. It tells residents about the collection and leaves the collection as it is.
  3. Rule out d. A retention limit shortens the exposure. For two years the council still holds data the purpose never needed.
  4. 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.
  5. 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

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.

How should the data set be described?

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

  1. 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.

    Read this part again

  2. 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.

    Read this part again

  3. 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.

    Read this part again

  4. 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.

    Read this part again

Sources