A record can move from database storage across a network into application memory and then into a log. Each transition may introduce different keys, identities, trust boundaries, and copies.
Protection should follow the complete flow. Encrypted storage does not establish that a connection is protected or that a receiving application handles plaintext safely.
Key points
Data at restStorage, file, or database encryption, access controls, retention rules, and protected backups address defined threats to stored copies.
Data in transitAuthenticated protocols such as Transport Layer Security (TLS) protect covered communications against interception and modification; termination points define the protected connection.
Data in useLeast privilege, process isolation, secure application handling, and confidential computing can reduce exposure during processing. Confidential computing isolates specified code and data within a hardware-backed trusted execution environment.
Important limitationProtection in one state does not automatically extend to another. Logs, temporary files, caches, crash dumps, and exported results can create additional stored copies outside the intended controls.