Skip to main content

GDPR

The General Data Protection Regulation (GDPR) is the EU's data protection law. The UK has a near-identical copy, the UK GDPR. This page covers the parts engineers touch. Everything here is as of October 2026; check the sources on Staying current.

Official text: Regulation (EU) 2016/679 on EUR-Lex.

How it works​

GDPR applies to organisations in the EU, and to organisations outside the EU that offer goods or services to people in the EU or monitor their behaviour there (Art. 3). An app on a global store that EU users can download is usually in scope.

Key terms​

TermPlain meaning
Personal dataAny information about an identifiable person. Device IDs, IP addresses and hashed emails count
ProcessingAnything you do with it: collect, store, read, send, delete
ControllerDecides why and how data is processed. Usually us, for our own users
ProcessorProcesses data on the controller's instructions. Our cloud host, email provider, AI provider
Data subjectThe person the data is about
Supervisory authorityThe national regulator, for example a country's data protection authority
Special category dataRacial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic, biometric (for ID), health, sex life or sexual orientation (Art. 9)
PseudonymisedCannot be linked to a person without extra information kept separately. Still personal data
AnonymisedCannot be linked to a person by anyone, by any reasonable means. No longer personal data

What engineers must know​

TopicWhat the law saysWhat it means for usArticle
PrinciplesLawful, fair, transparent; purpose limitation; minimisation; accuracy; storage limitation; security; accountabilityCollect the minimum, keep it no longer than needed, be able to prove it5
Lawful basesSix: consent, contract, legal obligation, vital interests, public task, legitimate interestsRecord one basis per purpose in the RoPA. You cannot swap later6
ConsentFreely given, specific, informed, unambiguous, by clear affirmative action. As easy to withdraw as to give. You must be able to prove itNo pre-ticked boxes, no bundling with the terms, an append-only consent ledger4(11), 7
ChildrenConsent for online services: parental consent under 16; member states may lower it to 13Age gate; EU age table per country8
Special categoryProhibited unless an Art. 9 condition appliesFree-text chat and profile fields about faith or health need explicit consent9
TransparencyTell people what, why, who, how long, their rights, at collectionPrivacy policy plus in-context notices12-14
RightsAccess, rectification, erasure, restriction, portability, objection, automated decisionsBuild them in. See Data subject requests15-22
Response deadlineWithout undue delay, within one month; extendable by two further months with reasons30-day target, tracked per request12(3)
Privacy by design and defaultBuild protection in; default settings collect the minimumOptional purposes default off25
ProcessorsA written contract (DPA) with set terms; processors use sub-processors only with authorisationSign a DPA before sending data to any vendor28
RecordsKeep a record of processing activities (RoPA)See Data map and RoPA30
SecurityAppropriate technical and organisational measuresEncryption, access control, logging, tests32
BreachNotify the authority within 72 hours unless unlikely to cause risk; tell people if high riskSee Breach response33, 34
DPIAData protection impact assessment before high-risk processingProfiling, large-scale special category data, systematic monitoring35
DPORequired for large-scale monitoring or large-scale special category dataKnow who your DPO is37-39
International transfersOnly with adequacy, appropriate safeguards (such as SCCs), or narrow derogationsRecord a transfer basis for every flow that leaves the EEA44-49
FinesUp to EUR 20m or 4% of worldwide annual turnover, whichever is higher; EUR 10m or 2% for some duties83

Transfers outside the EEA​

An adequacy decision says a country protects data well enough; transfers there need no extra paperwork. Otherwise use standard contractual clauses (SCCs) plus a transfer impact assessment. Telling users in the policy is transparency, not a lawful transfer.

  • EU-US: the EU-US Data Privacy Framework adequacy decision (Implementing Decision (EU) 2023/1795, July 2023) applies to US companies certified under it. The EU General Court dismissed a challenge to it on 3 September 2025; an appeal to the Court of Justice (case C-703/25 P) was pending as of October 2026. Watch this: if it falls, US transfers need SCCs again.
  • India had no EU adequacy decision as of October 2026, so EU to India transfers need SCCs.

Cookies and device storage​

Reading or writing on a user's device (cookies, local storage, SDK identifiers) is governed by the ePrivacy Directive, Art. 5(3), as implemented in each country. Non-essential uses need prior consent. The Digital Omnibus proposal would move this rule into the GDPR; it is not law yet. See Staying current.

Guidance to read​

Rules​

Rule

Pick the lawful basis before you build, and write it in the RoPA. If you collect on consent and the user withdraws, you cannot switch to legitimate interests to keep going.

Rule

Treat hashed and pseudonymised data as personal data. Only truly anonymised data is out of scope, and a plain hash of an email is not anonymous.

Mistakes we made​

  • "Disclosing it in the policy" was offered as the fix for a transfer. Files of EU users would sit in a non-EU bucket. Disclosure satisfies transparency, not the transfer rules. The transfer still needed SCCs and an assessment.
  • Special category data was not flagged. Users wrote about their faith and their health in free-text chat, and it was treated as ordinary data. Free text can hold anything; flag it as possible special category and gate it on explicit consent.

Checklist​

  • Lawful basis recorded per purpose.
  • Art. 9 condition for any special category data.
  • Notice covers what, why, who, how long, rights, transfers.
  • DPIA done or ruled out with a reason.
  • DPA with every processor.
  • Transfer basis for every non-EEA flow.
  • Rights work end to end within one month.
  • Breach runbook tested.