skip to content

Privacy Versus Security Modeling

In privacy modeling the asset is the individual and the adversary is often the operator, so mitigation means minimisation and purpose limitation. Interviewers ask why STRIDE never yields a privacy model.

on this pageshow

questions

3

Why does a privacy threat model name the operator as an adversary, unlike a security model?

level: middleimportance: must knowfreq 62%

answer

  1. Ask who is protected, and from whom
  2. Authorised access can still be a threat
  3. The operator sits inside every boundary
  4. Controls shrink data, not just gate it

basics

~20 s

A security model protects the system from unauthorised parties. A privacy model protects the person the data describes, including from the operator's own authorised staff and vendors. So the fix is collecting and keeping less, not stronger access control.

solid answer

~50 s

The two models differ in who is protected and from whom. A security model protects the system and its owner from parties outside the trust boundary or escalating across it, so an access path that is authenticated, authorised and logged passes. A privacy model protects the individual the data describes, and the operator - the company, its support engineers, its processors - sits inside every boundary the security model drew. Take a text-therapy service where support engineers can open any transcript to debug message delivery: TLS, disk encryption, SSO and an audit trail all pass, yet the privacy finding is that transcript bodies are readable by staff at all and retained forever. The mitigations are different in kind too: minimisation (debugging needs message ids and delivery status, not text), retention limits, and break-glass access that is reason-bound and time-boxed rather than standing.

go deeper

for a junior

Be ready to say who each model protects: the security model protects the system from outsiders, the privacy model protects the person the data is about. Remember that authorised staff access can still be a privacy threat.

for a middle

Explain the mechanics: same diagram, two extra questions per store and flow - is every field necessary, and which humans inside the company can see it. Be able to name minimisation and retention limits as controls a security review never produces.

for a senior

Show you can run this on a real design and come out with findings an engineer can implement - fields removed from a debugging path, retention shortened, standing access converted to reason-bound break-glass. Expect to defend why logging and encryption do not close them.

for a principal

Own the conflicts. Audit retention, abuse detection and fraud investigation all pull against minimisation, and someone has to decide the minimum fields and window rather than letting the keep-everything default stand. Be ready to say how the privacy pass becomes a standing gate rather than a one-off review.

## Two models, two starting questions A security threat model asks *what can go wrong to this system*. A privacy threat model asks *what can go wrong to the person this data is about*. That single change moves both halves of the model: the asset and the adversary. ### The asset moves In a security model the protected asset is the system and the organisation's stake in it - confidentiality, integrity and availability of data the company holds, the money it moves, the service staying up. Harm is measured in what happens to the company. In a privacy model the protected asset is the individual the data describes. Harm is measured in what happens to that person: exposure of something intimate, loss of control over where their data went, an inference drawn about them, a chilling effect on how they behave. A company can suffer no loss at all while a person is harmed - and the model has to be able to represent that. ### The adversary moves Security adversaries sit outside the trust boundary or have escalated across it: an anonymous internet user, a low-privileged tenant reaching another tenant's data, a compromised dependency. A privacy model adds an adversary that every security control is deliberately built to let through - **the operator**. That means the company running the service, staff acting entirely within their granted permissions, contracted processors and vendors, and a future version of the company after a strategy change or an acquisition. ### Why a security design pass will not raise it A design pass walks flows and stores asking whether each is authenticated and each access authorised. In the therapy example every answer is yes: transport is encrypted, storage is encrypted, the support console is behind SSO with per-access audit logging. Nothing is unauthorised, so nothing is reported. The privacy finding lives entirely inside what is *authorised*: support engineers can read transcript bodies, and bodies are retained indefinitely. ### The controls are different in kind Security controls mostly make access harder. Privacy controls mostly make the data smaller, shorter-lived, or narrower in permitted use: - **Data minimisation** - do not collect the field, or collect a coarser version of it. - **Storage limitation** - keep it for the shortest time the purpose needs; drop bodies while keeping the operational metadata. - **Purpose limitation** - bind data to the purpose it was collected for, so a new use is a decision, not a query. - **De-identification and aggregation** - publish counts and answers rather than rows. - **Scope and time bounding of operator access** - redacted-by-default views, expiring grants, break-glass with a recorded reason and a notification to the person. | Question | Security model | Privacy model | |---|---|---| | Who is protected | the system and its owner | the person the data describes | | From whom | unauthorised or escalated parties | anyone processing the data, the operator included | | What counts as harm | breach of confidentiality, integrity, availability | exposure, loss of control, unwanted inference | | Typical control | authenticate, authorise, encrypt, monitor | collect less, keep less, use narrower, aggregate | | A pass means | no unauthorised path found | no unnecessary data, access or retention found | ### Doing the pass Take the same diagram you already drew. For every store and every flow add two questions the security pass never asks: *is every field here necessary for the stated purpose*, and *which humans inside the operator can see it, under what trigger*. On the therapy service that yields three concrete findings - bodies retained forever, standing read access for the whole support rota, and a debugging workflow that never actually needed the text - and three concrete changes: strip bodies from the debugging path, shorten body retention, convert standing access into reason-bound, time-limited, user-visible break-glass. The same pass applied to a school-issued laptop's monitoring agent yields the same shape of answer: the adversaries are the institution and its managed-service vendor, and the mitigation is narrowing what the agent may see and when, not hardening the agent. ### Where the two models genuinely conflict They are not always aligned. Non-repudiation and audit want long retention; storage limitation wants short. Abuse detection wants IP addresses and device fingerprints; minimisation wants neither. Fraud investigation wants raw history. Resolve these explicitly: name the security need, the minimum data and minimum window it truly needs, and record the decision - otherwise the maximum-retention default silently wins. ### Keep the vocabulary straight The *threat* is that operator staff read intimate transcripts with no need to. The *vulnerability* is standing read access plus unbounded retention. The *risk* is the rated consequence for the person and the business. The *control* is minimisation plus break-glass. Privacy findings get waved away most often when they are stated as values rather than as a threat with a named actor, a named path and a named person who is harmed.

  • The team says transcripts are encrypted at rest and every read is logged - why doesn't that close the finding?
    Both controls are aimed at someone who should not have access. The operator holds the keys, so encryption at rest does not exclude it, and logging is detective: it records that a support engineer read a transcript, it does not remove the need to. The finding is about necessity and retention, so only reducing what is readable, by whom, for how long, actually moves it.
  • How do you write a privacy finding so an engineering team can act on it?
    State it like any other threat: actor, path, asset, harm, then a change with a measurable target. "Any of 40 support engineers can read any transcript body, indefinitely" plus "debugging needs message id, timestamp and delivery status only; bodies leave the support view and expire after 30 days" is actionable. "We should respect user privacy" is not, and gets deferred.
  • Where do the security and privacy models genuinely pull in opposite directions?
    Retention is the usual battleground: audit and non-repudiation want durable records, storage limitation wants them gone. Abuse and fraud detection want IPs, device fingerprints and history that minimisation would cut. Do not pretend the conflict away - state the security need, agree the minimum fields and the minimum window, and record it as a decision so the default of keeping everything does not win by inertia.

A hotel safe protects your valuables from other guests and burglars. It does not protect you from the hotel, which holds the override code, logs every opening, and decides how long to keep the record.

saying these in an interview costs you the question

  • Says encryption in transit and at rest covers privacy
  • Treats every insider concern as an access-control gap
  • Assumes only an unauthorised attacker can cause privacy harm
  • Calls privacy a legal problem rather than a design one
  • Reduces privacy controls to a consent checkbox
  • Thinks a clean security review means the privacy pass is done

context

open as a page

Driving data collected for insurance pricing is now wanted by the claims team - how do you evaluate that reuse?

level: principalimportance: should knowfreq 38%

basics

~20 s

Treat it as a purpose-limitation threat, not an access request: nothing is breached, yet data a customer gave to be priced is used against them in a claim. Test compatibility, seek a less invasive form, enforce it technically.

open as a page

A loyalty team wants to sell an 'anonymised' grocery basket dataset - what is the privacy threat?

level: seniorimportance: nice to knowfreq 30%

basics

~20 s

Stripping names and loyalty IDs gives pseudonymised data, not anonymised. Purchase histories are sparse and near-unique, so rare item combinations act as identifiers and a partner can re-link shoppers to other data. Aggregate, generalise, or release answers instead of rows.

open as a page