Skip to content
About
Main content
Operations

Security & Privacy

How do you protect data from someone who watches your design and then chooses how to attack it?

Who this mechanism is for: a developer who writes code, calls APIs and knows basic SQL, and who now has to keep data safe. You do not need to know cryptography, security standards or privacy law. Every technical term is explained the first time it appears, and again in the glossary at the end. This mechanism works with a data platform (files in cloud storage, tables, SQL engines, pipelines), because that is where security and privacy become hard.

The story we will follow

Hollis Health is a regional hospital network: 9 hospitals, 40 clinics and about 2.1 million patients. Its data platform is called the Lake. The Lake is a lakehouse: data files (in a format called Parquet) sit in cloud object storage, a catalog keeps a list of which files form which table, a SQL engine answers queries, nightly pipelines move data around, and analysts use dashboards and notebooks. Tables include patients, lab_results, visits, billing and device_readings. Some columns are very sensitive: national_id, date_of_birth, postcode, diagnosis_code, phone.

Wei Zhang is the data engineer who owns the Lake. Ingrid Halvorsen is the head of security; she never accepts the answer "it is encrypted" and always asks "against whom?" Mateus Silva is an analyst in the Northern region finance team: honest, always in a hurry, and quick to find a workaround when a control is slow. Later we meet Dr. Adaeze Eze, the privacy officer, who also practises as a doctor.

Hollis has an external audit coming. Each article of this mechanism opens with a problem that looks like a bug or a misconfiguration. Each one is actually a structural property of security work. At the end of the article, we go back and solve it with the article's mechanisms.

This is the main idea of this whole mechanism:

How this mechanism is organized

After that: a summary, hands-on labs, interview questions and a glossary.

One request: for every mechanism, ask "which does this stop, and which does it not touch?" That one question is worth more than any single technique.

What do I do, and what does each option cost?

Can I see it myself?

Can I reason about it under questioning?

Trade-offs

The tensions this mechanism takes a position on. Each recurs across mechanisms.

Recurring principles

Ideas this mechanism meets that keep coming back, mechanism after mechanism.

Show all 8 principles