Encryption at rest and in transit still leaves data exposed in plaintext the moment it is computed on. This lesson protects data in use: differential privacy, confidential computing and TEEs, per-tenant key management with crypto-shredding, and federated retrieval that keeps the most sensitive corpora in-boundary.
The Intermediate track's data-layer lesson hardened two of the three states of data: at rest (disk/column encryption, pgcrypto) and in transit (TLS), with Row-Level Security gating who can read a row. That's necessary — and incomplete.
The moment a query runs, the database decrypts rows into memory, the embedding model reads plaintext, and the LLM sees the prompt in the clear. Data in use is exposed to the host OS, the hypervisor, a compromised process, a curious operator, and your cloud provider. For the most sensitive corpora — PHI, privileged legal material, classified data — "encrypted at rest and in transit" still means "plaintext on someone else's CPU."
This lesson assumes a stronger adversary than the Intermediate track did:
Four families of control, each covered next:
None is a silver bullet; each buys down a specific risk at a specific cost. The skill is matching control to threat.