Security Architecture & Design Principles / Privacy Engineering
Privacy by Design (PbD) & Privacy-Enhancing Technologies
Privacy cannot be assured solely through compliance checklists or post-hoc privacy notices; it must be built directly into systems architecture. Privacy by Design (PbD), developed by Dr. Ann Cavoukian, establishes 7 foundational principles that mandate privacy as a default operational mode. Complementing PbD, Privacy-Enhancing Technologies (PETs)—including Differential Privacy, Zero-Knowledge Proofs, Homomorphic Encryption, and Secure Multi-Party Computation—provide mathematical frameworks for processing data without compromising user confidentiality.
Privacy architecture: all seven design principles, the PETs that bound disclosure mathematically, and where de-identification sits in GDPR scope
Ann Cavoukian’s 7 Foundational Principles
The 7 Principles of Privacy by Design are a design framework, not a legal instrument. GDPR Article 25 imposes a separate and binding obligation — data protection by design and by default — whose drafting was influenced by this thinking, but the two are not the same text and satisfying one does not automatically satisfy the other. The principles govern system architecture as follows:
- Proactive not Reactive; Preventive not Remedial: Anticipate and prevent privacy-invasive events before they occur; privacy is designed into the system upfront.
- Privacy as the Default Setting: Automatically protect personal data in any IT system or business practice without requiring user action.
- Privacy Embedded into Design: Privacy is an essential core component of the base design and architecture, not an add-on plugin.
- Full Functionality — Positive-Sum, not Zero-Sum: Avoid unnecessary trade-offs (e.g., privacy vs security); accommodate all legitimate goals in a win-win fashion.
- End-to-End Security — Full Lifecycle Protection: Secure data throughout its entire lifecycle—from collection to storage, processing, and secure destruction.
- Visibility and Transparency — Keep it Open: Assure stakeholders that business practices and technology operate according to stated promises and independent verification.
- Respect for User Privacy — Keep it User-Centric: Architect systems to empower users with strong defaults, clear notices, and user-friendly privacy controls.
Three things are commonly merged and are worth keeping apart: the principles are a design framework with no enforcement mechanism; GDPR Article 25 is a binding legal obligation on controllers within the Regulation’s scope; and ISO/IEC 27701:2025 is a certifiable management-system standard — its second edition, published October 2025, is stand-alone, so a privacy information management system can now be certified without first certifying an ISO/IEC 27001 ISMS. Demonstrating any one of the three does not demonstrate the other two.
Privacy-Enhancing Technologies (PETs) Comparison
PETs let an organization extract analytical value while bounding what any individual record contributes. Each bounds a different thing under a different assumption, so they are not interchangeable:
| Privacy technology | Mechanism | What it actually provides | Assumption or cost | Primary use case |
|---|---|---|---|---|
| Differential Privacy (ε, δ) | Calibrated noise added to a query result or model — Laplace for pure ε-DP, Gaussian where a δ is used. | A mathematical bound, set by ε, on how much any single record can change the output, and so on what an adversary can infer about it. It does not reduce that inference to zero. | Utility falls as ε tightens, and the budget must be accounted across every query, not per query. No standard sets a universal ε. | Aggregate telemetry (device analytics, census releases). |
| Zero-Knowledge Proofs (ZKP) | An interactive or non-interactive proof system; zk-SNARKs and zk-STARKs are two common constructions. | Proves a statement is true (the holder is over 21) while revealing nothing beyond its truth. | Soundness rests on the construction’s assumptions, and some schemes require a trusted setup. Proving cost is non-trivial. | Decentralized identity, age assertions, privacy-preserving authentication. |
| Fully Homomorphic Encryption (FHE) | An encryption scheme supporting computation on ciphertext, so that decrypting the computed ciphertext yields the result of the computation on the plaintext. | Lets an untrusted party compute a function without ever seeing the inputs. | Orders of magnitude slower than plaintext computation, which is the reason it stays confined to narrow workloads. | Untrusted cloud analytics over sensitive records. |
| Secure Multi-Party Computation (SMPC) | Secret sharing and interactive protocols across several parties, none of which sees another’s input. | Jointly computes an agreed function over distributed inputs without exposing any party’s input. | Holds only while collusion stays below the protocol’s threshold; adds communication rounds and bandwidth. | Inter-bank fraud detection, joint medical research. |
FHE and SMPC are distinct primitives, not variants of one another: FHE computes on ciphertext held by one party, while SMPC distributes the computation across parties that each hold a share. Federated Learning & Privacy-Preserving Machine Learning shows both distinctions in a working setting, including why differential privacy and secure aggregation solve different halves of the same problem.
Pseudonymization vs. Anonymization
| Dimension | Pseudonymization (GDPR Art. 4(5)) | Anonymization |
|---|---|---|
| Definition | Identifiers are replaced with tokens, with the mapping held separately and protected. | Data is transformed so that a person is no longer identifiable. |
| GDPR scope | In scope: pseudonymized data remains personal data. | Out of scope: data that is genuinely anonymous falls outside the Regulation. |
| The test that decides it | The additional information exists somewhere, so the data stays personal regardless of how well it is separated. | Recital 26 asks whether re-identification is possible using means reasonably likely to be used, accounting for cost, time, and available technology. It is a risk judgment, not a proof of impossibility. |
| Reversibility | Reversible by a party holding the mapping or key. | Not reversible by the intended means — but published re-identification research has repeatedly recovered individuals from datasets released as anonymous, usually by linkage against an auxiliary dataset. Treat a claim of anonymity as a dated assessment. |
| Primary techniques | HMAC-SHA256 tokenization, format-preserving encryption (FPE). | k-anonymity, l-diversity, t-closeness, generalization, suppression. |
The practical consequence: “we anonymized it” is a claim that has to be re-examined when new auxiliary datasets become public, because the reasonableness test moves as linkage data and compute get cheaper.
Privacy engineering review checklist
The checklist below is a journal working model, not a published audit standard. When auditing an application or data processing architecture, evaluate these six criteria:
| Diagnostic Area | Architectural Evaluation Question | Verification & Audit Evidence |
|---|---|---|
| Privacy Default Settings | Are privacy settings set to maximum protection by default without requiring user action? | Application onboarding configuration reviews. |
| Data minimization limits | Is PII collection strictly limited to fields essential for declared processing goals? | Data inventory schemas & API payload specifications. |
| Pseudonymization Encryption | Are PII identifiers pseudonymized using HMAC or format-preserving encryption with isolated keys? | Encryption code review & key management policies. |
| Differential Privacy Bounding | Do analytical queries add calibrated noise, and is the ε budget accounted across queries with its chosen value justified? | Differential privacy library configs & budget accounting records. |
| Automated Data Retention Expiry | Do database records enforce automatic deletion or anonymization upon expiration of retention windows? | Database TTL policies & automated purge scripts. |
| Data Subject Access Automation | Are user requests for data access or erasure (GDPR Art. 17) processed via automated workflows? | Data deletion job pipelines & SAR audit logs. |
Privacy by Design is a design framework; GDPR Article 25's data protection by design and by default is the separate binding obligation. PETs bound disclosure rather than eliminate it — differential privacy bounds inference at a stated ε, ZKP reveals only a statement's truth, and FHE and SMPC are distinct primitives for computing over data no single party can read. Pseudonymized data stays personal data; anonymization is judged by whether re-identification is reasonably likely, not by absolute impossibility.
Primary references
- Privacy by Design: The 7 Foundational Principles — Information and Privacy Commissioner of Ontario. Verified the wording and intent of the seven principles.
- Regulation (EU) 2016/679 (GDPR) — verified Article 4(5) on pseudonymization, Article 25 on data protection by design and by default, Article 17 on erasure, and Recital 26’s means-reasonably-likely test for anonymous data.
- ISO/IEC 27701:2025 — Information security, cybersecurity and privacy protection — Privacy information management systems — Requirements and guidance, second edition, October 2025. Verified the standard’s current edition and its stand-alone scope.
- NIST Privacy Framework — verified the risk-management framing used for the privacy engineering checklist.
- NIST SP 800-226: Guidelines for Evaluating Differential Privacy Guarantees — verified that differential privacy states a bound rather than eliminating inference, and that no universal ε threshold is specified.