Skip to content

Privacy Laws Shape the Design

Also in 28 languages

Español · 日本語 · Português (Brasil) · Français · Deutsch · Italiano · 한국어 · 简体中文 · Português (Portugal) · 繁體中文 · Bahasa Indonesia · Türkçe · Polski · Tiếng Việt · ไทย · Nederlands · العربية · עברית · Українська · हिन्दी · Русский · Svenska · Dansk · Norsk bokmål · Suomi · Español (México) · Français (Canada) · Deutsch (Schweiz)

An old stone bridge carries one road across a calm river between two towns with different roofs and building traditions.
Image generated with AI

Module 4 of 6 in the chapter Data Quality and Governance, chapter 5 of the Data Architect course. Each module stands on its own. Previous: Know Your Data · Next: Consent and the Right to Be Forgotten

The question this module answers: What do privacy and industry regulations ask of a Salesforce design?

When I worked in Australia, I met plenty of aspiring architects who’d never heard of GDPR. Europeans often haven’t heard of California’s privacy law, or Canada’s, or Brazil’s. That’s natural: you know the rules where you work. But these laws reach across borders, and they shape system design even though none of them is about Salesforce. So they belong in a data architecture course.

You don’t need to become an attorney. You do need to see that a regulation can change where data is stored, what you collect, who sees it, why you may use it, how long you keep it, where you send it, whether you can delete it, what history you keep, and what you can prove later. Those aren’t only legal questions. They’re data architecture questions.

This module is architecture guidance, not legal advice. Legal and compliance teams decide which laws apply and what they require. The architect turns those requirements into enforceable design.

The biggest misconception first: “we’re not in Europe, so GDPR doesn’t apply.” Maybe, maybe not. GDPR’s territorial scope reaches organizations outside the EU that offer goods or services to people in the EU, or monitor their behavior there (Article 3, Regulation (EU) 2016/679 (opens in a new tab)). So where your company is headquartered isn’t the end of the question. Where are your customers, employees, the people whose data you hold, your systems, your processors? Where does the data travel? That’s chapter 4’s landscape again. You can’t make good privacy decisions without knowing where the data goes.

Here are the names an architect should know, with what each covers. It’s a recognition table, not an applicability matrix: don’t read it and decide “we have customers in California, so requirement X applies.” That’s Legal’s call. Your job is to know enough to ask the question before the system is built.

Law or standardWhere or whatWhy an architect should recognize it
GDPR (opens in a new tab)European UnionPersonal data, lawful processing, individual rights, retention, transfers, privacy by design
CCPA, as amended by the CPRA (opens in a new tab)CaliforniaConsumers’ rights over the personal information businesses collect about them
PIPEDA (opens in a new tab)CanadaHow private-sector organizations handle personal information
LGPD (opens in a new tab)BrazilBrazil’s general personal-data protection law
Privacy Act 1988 (opens in a new tab)AustraliaHow organizations handle personal information, under the Australian Privacy Principles
HIPAA (opens in a new tab)US healthcareProtected health information in covered contexts
PCI DSS (opens in a new tab)Payment cardsProtecting payment-card account data
Sarbanes-Oxley (SOX) (opens in a new tab)US public companiesControls and evidence behind financial reporting
COPPA (opens in a new tab)US, children onlinePersonal information collected online from children

The list grows (more US states have their own laws), and the laws change. That’s why I don’t want you memorizing a table and thinking you’ve learned privacy architecture. Learn the names, then learn the questions that survive them.

The details differ, but the big privacy laws keep coming back to the same few things, and each one lands on the architecture.

Rights. People can ask to see their data, correct it, delete it and take it with them; under California’s and Brazil’s laws they can also opt out of having it sold. Every one of those requests means finding the person’s data, all of it.

Transfers. GDPR and LGPD control personal data leaving their jurisdiction and ask for adequate protection where it goes; PIPEDA expects the same level of protection when a third party processes the data, wherever it is. That’s the landscape again: which arrows cross a border?

Breach notification. When personal data is exposed, the laws expect you to tell the authorities, and sometimes the people affected, within a deadline that varies by law. You can’t notify about data you didn’t know you had, or say what was exposed if you can’t find the copies.

Accountability. You have to be able to show compliance: records of what you process and why, impact assessments for high-risk processing, and, under GDPR and LGPD, a data protection officer. The architecture has to produce the records.

Before protecting personal information, find it. Some is obvious: name, home address, phone, email. Some isn’t: location, device identifiers, IP addresses, images, behavioral data, anything that can be linked back to a person. And context matters. A Steve Trucking delivery carries the Recipient’s name, address, phone number, delivery notes and photos. A photo might show a box on a porch, or a person, or the inside of a home. The delivery is operational data, but some of its attributes are personal. That’s why module 3 classified fields: privacy starts with knowing what you hold.

“Salesforce.” Probably not just Salesforce. Did it come from a Retail Partner? Was it copied to Snowflake, ingested by Data 360, written to an integration log, exported by a user, left in field history, archived, copied into a sandbox, passed to a partner, used in an agent’s conversation? Personal data spreads. So when Legal asks “where do we hold this person’s information?”, “we know where the current value is” isn’t an answer. I want the landscape and the lineage: where the copies went.

Privacy applies to the copies too The path of one Recipient's phone number at Steve Trucking. It comes in on a Retail Partner's manifest to RouteDesk, is rekeyed by hand into Salesforce, where delivery crews see it on the day for their own stops, and goes out to Snowflake through the weekly export job. Highlighted in amber are the copies people forget: field history keeps every old value, a sandbox copies production, an agent's context keeps a conversation and a log, integration logs keep the partner's payload for support, and the archive keeps old deliveries. Underneath: privacy applies to the copies too. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.28.0", "built": "2026-10-15", "id": "DGM-DA-QG-41", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "system-landscape 0.10.0", "theme": "stevetecharc 1.4.0"} PEOPLE RIGHT: INTERNAL SYSTEMS COPIES PEOPLE FORGET BOTTOM RIGHT: IN, AND MORE COPIES Delivery crews see it on the day, own stops only EXPORT JOB Snowflake delivery analytics RouteDesk routes, and 8 years of history Field history every old value Sandbox a copy of production Agent context a conversation, a log Retail Partner the manifest Integration logs payloads, kept for support Archive old deliveries Salesforce the delivery, the crew's stop phone number in rekeyed weekly export Salesforce people an internal system data in and out the integration layer starts at the system that opens the connection; the label says what moves dashed: done by hand a copy people forget Privacy applies to the copies too. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

One phone number, many copies. Privacy applies to the copies too.

Having data and being allowed to use it aren’t the same thing. Steve Trucking has a Recipient’s phone number to coordinate today’s delivery. Does that make it a marketing list? No. The legal basis depends on the jurisdiction and the situation, and Legal guides that, but the architecture has to carry the answer: why it was collected, what use was authorized, whether consent was needed, given, withdrawn, and for which channel, address and purpose. Permission to use data has to be representable as data, because a policy document can’t make a decision at runtime. The next module models it.

Collecting Less Is an Architecture Decision

Section titled “Collecting Less Is an Architecture Decision”

One of the strongest privacy controls is not collecting the data, or not copying it where it isn’t needed. Does Snowflake need the Recipient’s phone number? Does analytics need the full street address? Does the sandbox need real delivery photos? Does an agent need the Recipient’s personal details to answer this question? If not, the strongest control may be not putting it there. Every copy you don’t make is one you don’t have to secure, retain, delete, track consent for, audit or report in a breach. The cheapest sensitive data to govern is the data you never copied.

“We’ll keep everything for now” is a retention policy. It’s just a bad one. For important data I want to know at design time how long we need it and why; whether a regulation sets a minimum or another sets a maximum; when the clock starts; and what happens at the end: delete, archive, de-identify, and where are the copies? Financial records may have to stay for a set period. A Recipient’s gate code has no purpose years after the delivery. Those decisions don’t wait until the database is big.

Anonymized, Pseudonymized, Encrypted, Masked

Section titled “Anonymized, Pseudonymized, Encrypted, Masked”

Replace “Jane Smith” with 7F92A1. Is Jane anonymized? Not if another table still says 7F92A1 = Jane Smith. That’s pseudonymization: the direct identifier is replaced, but the data can be re-linked using information kept separately, and under GDPR pseudonymized data is still personal data (Article 4(5)). Anonymization goes further: the data can no longer reasonably be linked to the person (Recital 26). So when someone says “we don’t need to delete it, we’ll just remove the name,” be careful. If the person can still reasonably be identified, you haven’t crossed that line. Whether a result satisfies the law is Legal’s call; the architect’s job is to say exactly what the system does: can it be re-linked, what keys remain, where are the mappings?

Use the words precisely, because they solve different problems. Encryption protects data from unauthorized disclosure; an authorized user can still decrypt it. Masking changes what particular users or environments see. Pseudonymization separates direct identity while keeping a way back. Anonymization removes the reasonable ability to identify the person. Only the last one takes data out of “personal.”

Legal doesn’t need to tell me to create a permission set; that’s my side of the line. Legal might say “only employees with a legitimate business need may access this category of personal information.” Then I translate: who are they, how do we identify the category, how is access granted, what happens when someone changes jobs, can an integration read it, can an agent, can it be exported, and how do we prove who saw it? Owners set policy; architects enforce it. Legal and compliance establish the obligation, data owners set the business policy, and the architect designs the enforcement.

From regulation to evidence A chain of five steps, top to bottom. One, the regulation: Legal says personal data is only for a legitimate need. It becomes two, the business policy: the owner says crews see Recipient details for their own stops. That becomes three, highlighted, the requirement: the architect specifies own stops, on the day only. It's built as four, the enforcement point: the architect designs sharing and field access. It's proven by five, the evidence: compliance can show who saw it, and when. Underneath: Legal interprets the law; the architect makes it work, and provable. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.28.0", "built": "2026-10-15", "id": "DGM-DA-QG-42", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "object-model/conceptual 1.8.0", "theme": "stevetecharc 1.4.0"} becomes becomes built as proven by 1 · Regulation Legal: personal data only for a legitimate need 2 · Business policy Owner: crews see Recipient details for their own stops 3 · Requirement Architect: own stops, on the day only 4 · Enforcement point Architect: sharing and field access 5 · Evidence Compliance: who saw it, when Legal interprets the law; the architect makes it work, and provable. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

From regulation to evidence: Legal interprets, the owner sets policy, the architect makes it work and provable.

And compliance isn’t a product. You can’t buy “compliance: on.” Encryption can support a requirement, audit features provide evidence, retention tooling executes policy, consent data supports permitted use, but licensing a feature doesn’t make an architecture compliant. Compliance comes from the whole design: people, policy, process, data, controls and evidence. Salesforce is part of it, not all of it. And if a policy matters enough to enforce, ask whether it matters enough to prove: who accessed this record on March 17, who changed this field, what did that export contain? Module 6 covers the evidence.

At Steve Trucking, the Recipient’s personal data arrives through three partner integrations. Salesforce needs it to run deliveries; crews need some of it, only for their own stops, only on the day; Snowflake wants delivery analytics; finance needs enough to bill, but not what the crew sees. And one Retail Partner must never see another’s Recipients. Privacy changes the arrows: certain fields don’t go to Snowflake, analytics gets a less identifiable version, crews see just their stops, downstream retention differs from operational retention. The privacy requirement doesn’t sit beside the landscape diagram. It changes it.

Regulations change, so carry a durable set of questions for any sensitive or regulated data:

  • What is it? Personal, sensitive, financial, health, payment, children’s or otherwise regulated?
  • Where does it live? Every copy: integrations, history, analytics, archives, sandboxes, logs, AI use.
  • Why may we use it? What purpose and legal basis apply? Is consent involved?
  • Who may use it? People, systems, partners, integrations, agents.
  • How long do we keep it, and what happens at the end?
  • Can the person exercise their rights over it? Access, correction, deletion, portability, objection, as the law provides.
  • Can we prove what happened? Access, changes, exports, consent, deletion, retention.

AI adds another consumer of governed data. Can an AI system use this data, for what purpose, as grounding, combined with what, repeated in its output, logged where, for how long? Governance of AI is moving from company policy into law: the European Union’s AI Act (Regulation (EU) 2024/1689 (opens in a new tab)) is the first broad example. What it requires depends on the system and the use. The direction for architects is clear: AI doesn’t sit outside governance; it’s another consumer of governed data.

  • Where regulated or sensitive data enters, lives, moves and gets copied across the landscape.
  • How legal and compliance policy becomes enforceable requirements, without the architect interpreting the law.
  • Whether each system that receives sensitive data needs it, or a less identifiable version would do.
  • How retention, deletion, anonymization, pseudonymization, protection and evidence shape the data’s lifecycle.
  • What evidence must exist to show the important controls actually worked.

Regulations don’t become architecture by putting their names on a slide. They become architecture when they change how data is collected, classified, moved, protected, retained, deleted and proven.