Encryption at Rest and in Transit Explained
A hypothetical company encrypts its database disks and assumes that customer records are protected everywhere. An authorized application account can still read the records, an export can leave as plaintext, and a compromised endpoint can capture data after decryption..
By Administrator

A hypothetical company encrypts its database disks and assumes that customer records are protected everywhere. An authorized application account can still read the records, an export can leave as plaintext, and a compromised endpoint can capture data after decryption. Encryption at rest and in transit solve different exposure problems. Neither replaces decisions about who may use the data.
Start with the location of plaintext
Draw the data's journey: user device, network connection, edge proxy, application, database, backup, and export. Mark where information is encrypted and where it becomes readable. Include administrative consoles and logs. This diagram should describe the actual system rather than simply display a lock beside the cloud. A service can protect stored files while exposing an authorized response to the wrong user.
At-rest encryption protects stored representations under a particular threat model. Full-disk encryption, database storage encryption, and application-level field encryption operate at different layers. Ask which component performs decryption and who can invoke it. A stolen powered-off device is a different scenario from an attacker using an already authenticated application session. The appropriate control depends on the exposure being addressed.
OWASP's cryptographic storage guidance discusses choosing an encryption layer and managing keys. It emphasizes design decisions around storage protection rather than treating encryption as a standalone guarantee.
Understand the boundaries of transport protection
In-transit encryption protects communication across a connection. HTTPS uses TLS between the participating endpoints. If a load balancer terminates TLS, inspect how it communicates with the next service. The browser's protected connection does not establish that every internal hop has the same protection. Document termination points and verify the intended configuration using provider-specific instructions.
Certificates help authenticate the endpoint within the connection's trust model. A valid certificate does not establish that a website's business is honest, that its content is correct, or that an account is authorized to view a particular record. Likewise, a VPN can protect a network segment without deciding what the destination service stores after receiving data. Keep these distinct claims separate when evaluating a product.
OWASP's TLS guidance addresses transport configuration and protocol choices. Follow the supported configuration for the actual deployment instead of copying an old cipher list into an unrelated service.
Treat key access as a separate permission
Encrypted data and its decryption keys require distinct handling. Determine whether administrators who can copy the stored data can also retrieve keys, alter key policy, or ask the running service to decrypt it. Separation can reduce some risks, but its effectiveness depends on enforced permissions and the application architecture. A key kept beside a backup under identical access controls offers limited additional separation.
Plan key rotation, recovery, and loss before deployment. Destroying the only usable key can make legitimate recovery impossible. Keeping every historical key indefinitely can preserve access you intended to retire. Record which data depends on which key version and how backups remain recoverable. Use established cryptographic libraries and managed mechanisms appropriate to the system rather than designing a custom algorithm or ad hoc encoding scheme.
- Identify the data and its stored copies.
- Mark transport hops and TLS termination points.
- Locate every legitimate plaintext boundary.
- Review key access and application authorization separately.
- Exercise recovery and document remaining exposure.
A hypothetical customer-report export
A reporting application reads encrypted database storage through an authorized service identity. It returns a CSV over HTTPS to a manager. Once downloaded, the CSV is a new stored copy on the manager's device. Database encryption has not automatically protected that file. The company needs an export policy, appropriate endpoint protection, and a retention decision for the report in addition to its database and network controls.
Now suppose the report is emailed to the wrong recipient. Transport protection may still have worked correctly while the business disclosure was wrong. This hypothetical example shows why authorization, recipient verification, and minimization remain necessary. It does not establish that any particular mail provider offers end-to-end encryption, nor that a password-protected attachment is suitable for every confidentiality requirement.
Ask precise questions of a provider
Replace is everything encrypted with questions about storage classes, backups, logs, key ownership, administrative access, transport boundaries, and exports. Request documentation for the relevant plan and product. Marketing language may refer only to a subset of data or default configuration. Record unknown answers explicitly; do not infer customer-managed keys or end-to-end encryption from a general security page.
For a technical review, inspect configuration and test only the properties you are authorized and equipped to assess. Observing an HTTPS response establishes something about that connection, not the provider's storage implementation. Evidence should name the system, date, and boundary observed. Independent assurance material can add context, but its scope and period still need reading rather than assuming comprehensive coverage.
Encryption review checklist
- Inventory live data, backups, logs, caches, and exports.
- Name the threat each encryption layer addresses.
- Document all TLS termination points.
- Identify where plaintext is available and to whom.
- Separate storage access from key permissions where feasible.
- Verify recovery before changing key lifecycle rules.
- Review authorization and recipient controls independently.
- Record provider claims that remain unverified.
The useful output is a boundary map with accountable owners, not a single encrypted checkbox. Keep it current when introducing another proxy, export feature, or analytics service, because each can create another plaintext destination requiring its own protection and retention decision. Review the map with whoever operates the service and whoever authorizes data use. Their answers may expose different assumptions about the same copy of information. Resolve those disagreements before treating the diagram as an accurate description of the system.