Privacy & Compliance · Study deck
Runtime Privacy Enforcement
The setting at the top of a privacy design must change the running path below it.
Privacy Priya is your guide for this deck.

After studying this chapter
Learning objectives
You will be able to:
- map the full data path a privacy switch must actually change
- enforce a privacy setting with a runtime gate instead of a message-only control
- default a control to the protective state and test that the default holds
- Explain: A gateway is the device or service that carries local data toward another network.
Major section
Start With the Switch That Must Change the Device
A gateway is the device or service that carries local data toward another network.
- If nothing changes in the data path, the product has a privacy message rather than a privacy control.
- Implementation is where that idea stops being a principle list and becomes system behavior.
Major section
Start With the Switch That Must Change the Device (continued)
Privacy by Design is the idea that privacy is built into a system from the start, not bolted on after a complaint.
- The single most useful test of whether it is real is whether the setting changes what the system actually does in the path where data is collected, sent, stored, viewed, exported, or kept.
- Evidence means you can show where each control is enforced and prove, with a test, that it still works.
- If you only need the intuition, this layer is enough: trace a feature from purpose to data path to control to evidence.
Major section
Start With the Switch That Must Change the Device (continued)
Settings must change behavior A toggle that updates the screen but not the data path is a failed control.
- The evidence is a test that confirms the setting actually stops the data.
- If you can explain why a setting must change behavior and why default-protective matters, you have the core idea.
- Privacy by default means the protective state is the starting state: optional collection, external sharing, and long retention are off until someone chooses otherwise.
Major section
Put the Privacy Gate in the Data Path
Once the promise is clear, build the control where the data actually moves.
- Optional sensors and fields keep recording after opt-out.
- Destination, purpose, and current setting all permit the send.
- Records flow to analytics or partners regardless of choice.
- Role, case reason, or a user-initiated support request exists.
Major section
Put the Privacy Gate in the Data Path (continued)
Worked Reasoning: Three Features, One Pattern Voice command device Responding to commands needs intent and device state, not stored history.
- Old or disabled records linger indefinitely.
- Minimize Early, Default Protective The strongest gate is the data you never create.
- Activity wearable Trends need summaries, not continuous raw motion.
Major section
Put the Privacy Gate in the Data Path (continued)
Pair this with a default matrix: optional data off at setup, local processing first, retention short by default, and external sharing off until a feature reason is recorded.
- Derive steps and activity minutes on device, drop raw samples after the summary is checked, and inspect the sync payload to confirm it carries summaries only.
- Shared-space occupancy Comfort automation needs room load, not named badges.
- Control Surfaces and Release Evidence User and operator controls must connect to the gates, not just display text.
- If you can run the workflow and place gates where data changes hands, you can stop here.
Major section
Keep the Boundary Enforced After Launch
The deeper layer explains what makes each artifact genuinely protective rather than nominal.
- The recurring failure is a control that looks present but is not enforced, separated, or tested, especially after new jobs, exports, destinations, or support tools are added.
- Interface-only or cached check lets the action proceed.
- The safe state is the starting state.
Major section
Keep the Boundary Enforced After Launch (continued)
Raw data is dropped once a summary suffices.
- The contrast is a gate that is evaluated only in the interface, or evaluated once at startup and cached while the user later changes the setting.
- Sync and store payloads contain summaries, not raw streams.
- Raw records are synced "just in case" and retained.
Major section
Keep the Boundary Enforced After Launch (continued)
Mapping shares a store every service can read.
- If the token-to-identity mapping lives in the same database that every product service can read, the separation is cosmetic: any service can rejoin identity at will.
- Setup-state and disabled-state tests at release.
- Optional collection is on by default.
Major section
Keep the Boundary Enforced After Launch (continued)
Tests That Can Actually Fail Release evidence is only meaningful if each test can fail when a future change breaks the behavior.
- A new sensor, an added destination, a changed retention rule, an expanded support workflow, or a new integration can quietly reintroduce collection, sharing, retention, or access that the original review excluded.
- Tests that fail on drift, with owner and retest trigger.
- Second, the denial should be observable: a logged "blocked send to destination X because setting off" is what lets a test prove the gate works.
Major section
Enforce a Door-Sensor Purpose at Runtime · Summary
A gateway is the device or service that carries local data toward another network, while a payload is the set of fields carried in one message.
- In this privacy example, a door sensor in supported housing changes from CLOSED to OPEN at 02:14.
- A collection gate asks whether this door field is needed.
Deck summary
Key takeaways
A gateway is the device or service that carries local data toward another network.
- Privacy by Design is the idea that privacy is built into a system from the start, not bolted on after a complaint.
- Settings must change behavior A toggle that updates the screen but not the data path is a failed control.
- Once the promise is clear, build the control where the data actually moves.
- Worked Reasoning: Three Features, One Pattern Voice command device Responding to commands needs intent and device state, not stored history.
Retrieval practice
Recall check 1 of 3

Privacy Priya says: answer from memory, then check your reasoning.
Q1An IoT app lets users turn off optional analytics in settings, but the device still sends analytics events to the service. What implementation issue does this reveal?
Show answer
Answer: C A privacy setting must change the real data path.
Retrieval practice
Recall check 2 of 3

Privacy Priya says: answer from memory, then check your reasoning.
Q2A wearable can show daily activity trends from on-device summaries, but the proposed sync sends continuous raw motion records. What is the best implementation change?
Show answer
Answer: D A minimization pipeline derives the needed output early and drops raw input, keeping the feature while shrinking the synced data path.
Retrieval practice
Recall check 3 of 3

Privacy Priya says: answer from memory, then check your reasoning.
Q3A team pseudonymizes event records by replacing user IDs with tokens, but stores the token-to-identity mapping in the same database that every product service can read. Why is this not an effective pseudonymization boundary, and what is the fix?
Show answer
Answer: A A boundary requires that the reconnect information be genuinely separated and its use controlled.
Print reference
Answers
Answer key.
- C · A privacy setting must change the real data path.
- D · A minimization pipeline derives the needed output early and drops raw input, keeping the feature while shrinking the synced data path.
- A · A boundary requires that the reconnect information be genuinely separated and its use controlled.