Chapter 7 · Reading 2 of 6
Choosing protection for a data flow
Security+ SY0-801 · Objectives 3.3, 1.3
An encrypted grade portal returns a report to an advisor. The browser displays the report correctly, and the advisor saves a copy to a shared folder. At which point did the institution’s transport encryption finish doing its job? The answer determines where a different protection must begin.
Classify data by sensitivity, then trace where copies exist at rest, in transit and in use, as you did in The Crown Jewels: Data. Full-disk encryption protects a lost powered-off device. Transport encryption protects the connection between endpoints. Neither prevents an authorized application from exposing too much data in a report. Limit fields and access at the point where the application processes the record.
Protect copies and exports
Tokenization replaces a sensitive value with a substitute. Masking changes what a viewer sees, while a retained source may still hold the original. Hashing supports comparison without routine reversal, though predictable inputs may be guessed. A random salt added before hashing stops precomputed attacks, and key stretching, deliberately repeating the hash thousands of times as PBKDF2 and bcrypt do, makes each guess slow. Apply retention rules to replicas, logs and exports. Verify protection by following one test record through production, reporting and deletion.
Choose the boundary a key protects
Consider a stolen powered-off laptop, a database backup copied to an unauthorized account and a valid support user viewing a restricted field. Full-disk encryption can protect the first case when the disk remains locked. Database or backup encryption with independently controlled keys can protect the second. In the third case the application has already obtained readable data. Restrict the user's role, minimize fields returned and audit sensitive queries. State the threat and the point at which plaintext becomes available before claiming the record is protected.
| Threat | Protection that helps | Where plaintext becomes available |
|---|---|---|
| Powered-off laptop is stolen | Full-disk encryption | Only after an authorized unlock |
| Database backup copied to an unauthorized account | Database or backup encryption with independently controlled keys | Only to an identity granted the key |
| Valid support user views a restricted field | Encryption does not help Restrict the role, return fewer fields, audit sensitive queries | Already readable inside the application |
Security+ names several encryption levels. Partition and volume encryption limit protection to selected storage boundaries. File-level encryption can travel with an object while placing more responsibility on file readers and key distribution. Database and record-level encryption may let analysts query ordinary fields without access to especially sensitive ones. Check indexes, diagnostic messages, temporary files and exported reports for secondary copies. A clean main database cannot account for unprotected exports.
Verify recovery as well as confidentiality
Restore an encrypted test backup using a designated recovery identity from an approved environment. Confirm that an unauthorized identity fails, the authorized recovery is logged and the application can read the restored sample. Document the key version and dependency on identity or key services. This test exposes a common circular dependency when a team needs a failed service to unlock its own recovery materials.
Trace the reader along with the record
For each copy, write down who has access to readable content and which identity can recover or decrypt it. A storage administrator might be able to copy encrypted volumes without holding a decryption grant. An application service account might have access to plaintext through a routine reporting function. Test those roles separately. Also follow what happens when the advisor leaves the department. Revoking portal access can leave a downloaded copy behind. This exercise turns “the data is encrypted” into a statement about a specific threat, copy and key holder. The next reading, Choosing algorithms for a protected connection, looks inside the connection itself.
Inspect the three records, then use the evidence to answer the question.
1. Record A
Campus bookstore stores token T7 instead of a payment number
2. Record B
Mapping is stored in a separate vault
3. Record C
Analytics requires totals but no original numbers
Apply the reading
A bookstore stores token T7 instead of a card number and the mapping lives in a separate vault. Which system must tightly restrict detokenization?
Compare your reasoning
The vault, because it can turn the substitute value back into sensitive data. Restrict access to the mapping and log each authorized lookup.