What does GDPR Article 25 actually require, legally?
Two distinct duties. Data protection by design (Article 25(1)): controllers must, both when determining the means of processing (design time) and during the processing itself (runtime, forever), implement appropriate technical and organizational measures designed to implement the data-protection principles effectively and integrate the necessary safeguards, calibrated to the state of the art, implementation cost, the processing's nature and scope, and the risks to individuals; the EDPB's Guidelines 4/2019 unpack 'effectively' as the operative word, measures must actually work, a policy nobody follows or a pseudonymization trivially reversed fails the effectiveness test regardless of paperwork. Data protection by default (Article 25(2)): by default, only personal data necessary for each specific purpose is processed, in amount, extent of processing, storage period, and accessibility, and specifically, personal data must not be made accessible to an indefinite number of people without the individual's intervention; this is the provision with teeth in consumer products, because it makes the out-of-the-box configuration a legal object: public-by-default profiles, on-by-default tracking, and maximal-by-default collection are Article 25(2) issues before any consent analysis begins. Enforcement is real, not rhetorical: the Irish DPC's TikTok decision (345 million EUR, 2023) turned substantially on children's accounts defaulting to public; its Instagram decision (405 million EUR, 2022) likewise involved minors' contact details public by default; and DPAs cite Article 25 regularly in combination with the principle it operationalizes. Scope notes: the duty binds controllers (processors inherit via Article 28's sufficient-guarantees requirement, so it flows into vendor selection), it applies to bought systems as much as built ones (choosing software with bad defaults is a design decision), and it is continuous, 'during the processing itself' means the obligation follows the system through its lifetime, not just its launch review.
How do the seven foundational principles translate into engineering decisions?
Cavoukian's seven principles (Privacy by Design, 2009, later endorsed by the international privacy commissioners' conference), rendered as engineering. Proactive not reactive: privacy analysis happens at design review, not incident review, operationally, a privacy section in the design-doc template and a screening question in the intake for anything touching personal data. Privacy as the default setting: the Article 25(2) duty above, engineered as configuration audits, every user-facing toggle enumerated with its default justified against necessity, and privacy-protective presets (private profiles, tracking off, precise location off, retention minimal) as the shipped state. Privacy embedded into design: the data model itself enforces policy, purpose recorded at collection, sensitive fields segregated with separate access paths, identifiers designed for deletion and pseudonymization from the start (retrofitting deletability onto a schema with foreign keys everywhere is the expensive version). Full functionality, positive-sum: the principle rejecting privacy-versus-features framing; in practice, the design exercise of achieving the goal with less data (does personalization need the raw history or an on-device model; does analytics need user-level events or aggregates), which is also just good engineering discipline. End-to-end security: lifecycle protection, encryption in transit and at rest, key management, secure deletion at retention end, covered by your security program but scoped here to personal data's full lifecycle including backups and logs, the two places deleted data classically survives. Visibility and transparency: users and auditors can see what happens, layered notices written by the product team, in-context disclosures at the point of collection, and internally, the data map that makes flows inspectable. Respect for user privacy: the interface serves the user's interests, rights flows as polished as signup flows, no dark patterns, comprehensible choices, which is where this doctrine meets the FTC's and the EDPB's deceptive-design enforcement from the other direction.
What are the core technical patterns, and when does each apply?
The pattern catalog, by problem. Minimization patterns: collect-at-need rather than collect-at-signup (progressive profiling); field-level justification in schema review (every column of personal data names its purpose or dies); precision reduction (coarse location where coarse suffices, age bands instead of birthdates); and ephemerality (process-and-discard pipelines for data needed only in flight). Pseudonymization and separation: stable internal IDs with the identity mapping held separately under tighter access, so analytics, support tooling, and ML pipelines run on pseudonymous data by construction (GDPR Article 4(5) requires exactly this separation for the pseudonymization label, and Article 25 names it as the exemplar measure); tokenization for high-value identifiers; and data-domain segregation so a compromise or an over-broad query in one domain does not expose identity. Aggregation and noise: k-anonymity-style thresholds on published or internal reporting (no cohort smaller than n); differential privacy where query systems face adversarial inference (the heavyweight option, real in large-scale telemetry, US Census-grade problems, overkill for a startup dashboard); on-device processing so raw signals never leave the client (the pattern behind modern keyboard suggestions and health features). Purpose binding: purpose tags on datasets enforced by access control (the ML team's service account cannot read support tickets; the marketing warehouse cannot join the fraud table), which turns purpose limitation from a policy sentence into a permission matrix, plus query-level audit for sensitive stores. Retention automation: TTLs in the storage layer, deletion pipelines that walk the object graph (including backups via key destruction or expiring media), and deletion verification jobs, because retention policies without enforcement automation are aspirations. Transparency and control surfaces: in-product privacy dashboards (what we have, what it powers, controls that work), machine-readable consent state propagated to every consumer of the data, and event-sourced audit of data operations so 'what happened to this record' is answerable. Selection heuristic: minimization first (data you lack cannot leak, cost nothing to secure, and shrink every downstream obligation), separation second, the exotic mathematics last.
How do you build privacy into the SDLC without becoming the department of no?
Copy security engineering's playbook, which solved the same integration problem a decade earlier. Intake screening: a two-minute questionnaire in the design/RFC template (does this touch personal data, any new categories, new sharing, new retention, sensitive contexts), routing to proportionate review, most features get a lightweight check, the risky minority gets the full assessment (this screening is also your DPIA trigger mechanism, one gate serving both). Privacy threat modeling for the systems that warrant it: LINDDUN (linkability, identifiability, non-repudiation, detectability, disclosure, unawareness, non-compliance) as the privacy analogue to STRIDE, run on the data-flow diagram in the same session as the security model, an hour of structured pessimism that reliably finds the log capturing PII, the ID that bridges datasets, the inference the aggregate enables. Requirements as backlog items: findings become tickets with owners and release dependencies, not appendix prose, and the privacy review is 'done' when the tickets are, mirroring how security findings gate releases. Default audits pre-launch: the enumerated-toggles check (every default justified), plus the from-outside test, a fresh account walked through the product recording what is collected, shared, and visible without any user intervention, which is exactly the test a regulator or journalist runs. Regression protection: privacy asserts in CI where they can be codified, schema-diff alerts on new personal-data columns, tag/SDK manifests that fail builds on unclassified additions, deletion-pipeline tests with synthetic subjects, consent-state propagation tests, because privacy properties regress exactly like performance does, silently, under feature pressure. Enablement over gatekeeping: paved-road components (a consent-checking client, a pseudonymization service, a retention-enforcing storage wrapper) make the compliant path the easy path; privacy champions in product teams scale the review capacity; and the metric that matters is findings caught at design time versus post-launch, the ratio that proves the program is engineering rather than audit. The cultural key: frame findings as defects against a quality bar, not legal objections, engineers fix defects all day without resentment; what breeds the department-of-no dynamic is review that arrives late, speaks legalese, and offers no alternative design.
What is ISO 31700, and does it change anything?
ISO 31700-1:2023 (Consumer protection: privacy by design for consumer goods and services) is the first ISO standard to codify privacy by design as such: about thirty high-level requirements for embedding privacy across a consumer product's lifecycle, from consumer communication and preference honoring through risk assessment, controls design, breach response, and end-of-life data handling, with ISO/TR 31700-2 providing use-case illustrations (a smart-lock walkthrough features prominently). What it adds: a common requirements vocabulary for product teams and procurement, a lifecycle frame that explicitly includes decommissioning (the phase everyone forgets: what happens to the data when the product or the company sunsets), and a consumer-goods orientation that speaks to hardware and IoT teams the GDPR-centric literature underserves. What it does not do: it is guidance-grade, not certifiable (like ISO 31000, no ISO 31700 certificate exists, so treat certification claims accordingly), it does not carry legal force anywhere, and its requirements sit above implementation, you still need the engineering patterns to satisfy them. Sensible use: as a checklist backbone for consumer-product privacy programs and a shared language with suppliers (putting 'align with ISO 31700-1' in product requirements gives vendors a concrete reference), while the EDPB's Article 25 guidelines remain the authority for what the law requires and Cavoukian's principles remain the cultural shorthand. The standards family context: ISO 31700 for the product-level design doctrine, ISO/IEC 27701 for the organizational privacy management system (certifiable, as an ISO 27001 extension), ISO/IEC 29134 for PIA method, and NIST's Privacy Framework as the US-flavored organizational crosswalk; a mature program typically runs 27701 as its certified spine and uses 31700 as product-team guidance inside it.