Privacy obligations
Legal duties around personal data, such as GDPR.
Privacy law sets rules for collecting, using, storing and deleting personal data. Data subject requests, such as export and deletion, need product features. Knowing the basics avoids building something that has to be redone.
Why it matters for a product engineer
Privacy law is not only a page of legal text. Many of its duties are product features: an export of someone’s data, a way to correct it, a deletion that really deletes. Under the GDPR, a company must answer such a request within one month. It must report a serious data breach to the authority within 72 hours. A product engineer knows where personal data lives, so they can tell whether these duties are possible at all. A data model without an owner for each field makes every request slow and risky.
How to do it
- Keep a list of the personal data you store: which fields, where, why, and for how long.
- Collect only the data a feature needs, and set a deletion rule for each kind.
- Build export and deletion as features, with tests, before the first request arrives.
- Explain each use of data in plain words, close to the data itself.
- Write down who decides and who acts when a breach happens, with the 72-hour limit in mind.
Common mistakes
- Copies in logs, backups and analytics tools that a deletion does not reach.
- Exports that are complete but impossible for a person to understand.
- Keeping data “in case it is useful later”.
- Leaving privacy to the legal team until a request or a complaint arrives.
Example
In 2023, the Swedish privacy authority audited how Spotify answered access requests. Spotify did release the data. It even split it into layers: one with the data most people want, such as payment details and listening history, and one with technical log files. The authority said the layers were fine. The problem was the explanation: Spotify did not say clearly enough how and why it used the data. The authority fined Spotify SEK 58 million.
Spotify's answer to an access request, as the authority saw it
The data itself was complete and well organized. The fine came from the missing explanation of how the data was used.
ReportedIMY, Administrative fee against Spotify, 13 June 2023
Sources: Administrative fee against Spotify (IMY, Swedish Authority for Privacy Protection) ↗ · Respect individuals' rights (EDPB guide for small business) ↗ · Obligations for businesses under the GDPR (European Commission) ↗
Resources
3- docsStart here
Principles of the GDPR ↗
European Commission · 12 minLawfulness, purpose limitation, minimisation and the other principles every feature that touches personal data must respect.
- docsGo deeper
Obligations for businesses under the GDPR ↗
European Commission · 12 minWhat a company has to do in practice, from records and security to breach notification within 72 hours.
- docsGo deeper
Respect individuals' rights (guide for small business) ↗
European Data Protection Board · 20 minAccess, deletion, portability and the other requests your product has to be able to answer.