Data Privacy and Protection

Compliance requires you to collect and keep a great deal of personal data; privacy law requires you to protect it, limit it, and sometimes delete it. Data privacy is the compliance domain that governs the data all the other controls depend on — and it turns "how you handle personal information" from a courtesy into a set of enforceable engineering obligations.

KYC, AML, and screening all collect and process large amounts of personal data. Privacy regulation — GDPR and a growing set of similar laws worldwide — governs how you may lawfully handle it. This post covers data privacy as an engineering discipline: the core principles that shape system design, the individual rights you must be able to honor, and the tension with the compliance retention we met in the last post. Privacy is where “handle personal data responsibly” becomes concrete, buildable requirements.

Why privacy is an engineering concern

Privacy laws (GDPR is the most influential, with many jurisdictions following similar models) grant individuals rights over their personal data and impose obligations on organizations that process it — backed by significant penalties. Crucially, these obligations are not satisfiable by a policy document; they require the systems to behave in specific ways: to collect only what’s needed, to delete data on request, to export it, to secure it. That makes privacy an engineering concern — the way you model, store, process, and delete personal data must be designed to meet the obligations, which is the principle of privacy by design: building privacy into systems from the start rather than adding it later. Retrofitting privacy into a system that spread personal data everywhere with no way to find or delete it is enormously hard — so, like the other compliance domains, it must be built in.

The core principles that shape design

A handful of privacy principles translate directly into system design decisions:

The standout for engineers is data minimization: the less personal data you collect and keep, the smaller your privacy risk and burden. It’s the rare requirement that’s also just good engineering hygiene — and it aligns neatly with the on-device/local-first privacy philosophy from the edge-AI series (data you never transmit can’t leak).

The individual rights you must honor

Privacy law grants individuals rights over their data, and your systems must be able to execute them — each is an engineering capability, not just a promise:

The hard engineering truth: you can only honor these rights if your data architecture supports them. “Find all of a person’s data” and “delete all of a person’s data” are trivial to promise and hard to deliver if personal data is scattered, duplicated, denormalized, cached, and copied into logs, analytics, and backups with no unified way to locate it. This is why privacy by design matters so much: systems designed to track where personal data lives and to delete it comprehensively can honor these rights; systems that weren’t cannot, no matter the policy. The right to erasure in particular is a strong forcing function — being able to genuinely delete a person everywhere is a serious architectural requirement.

The retention tension, revisited

The conflict flagged in the audit-trails post is fundamentally a privacy issue, so it’s worth resolving clearly here: the right to erasure collides with compliance retention obligations. A customer may demand deletion, while AML/KYC rules require you to retain their records for years. Both are law. The resolution:

The engineering lesson: privacy and compliance retention are both binding and sometimes opposed, and the resolution isn’t to pick one but to precisely separate data by its legal treatment — retain what’s compelled, delete what isn’t, and know which is which. Treating “delete everything” or “keep everything” as blanket policies violates one law or the other.

Building privacy in

Practical guidance for engineering privacy:

Data privacy governs the raw material — personal data — that every compliance control operates on, and honoring it is an architectural commitment, not a policy statement. With who-you-serve, what-they-do, screening, audit, and privacy covered, the final building-block post is telling regulators what they require: regulatory reporting.

Key takeaways

Further reading

Sources & References

EU data protection law