Protecting data at rest focuses on stored information and the controls around where it sits. Protecting data in motion focuses on how data moves between systems, who can access it, and whether those flows create exposure. Both matter, but data in motion often reveals the real attack surface because movement creates pathways that storage-only controls do not show.
What changes between at-rest and in-motion protection?
data at rest is about stored information, so the security question is where it resides, how it is protected on disks, databases, file stores, backups, and snapshots, and who can reach those repositories. data in motion is about transit and exchange, so the security question becomes whether the pathway itself is protected, whether the endpoints are trusted, and whether interception, replay, or unauthorized access can occur during transfer.
The practical difference is that at-rest controls mainly reduce exposure if storage media, backups, or repositories are exposed, while in-motion controls protect the route that data takes between systems. Many breaches involve both, but the control choices are different: storage encryption, access control, and backup protection matter most at rest, while transport encryption, mutual authentication, and protocol hardening matter most in motion.
Because the in-motion problem is often about how systems talk to each other, the attack surface is frequently visible in APIs, service-to-service calls, and cross-network flows. That is why transport controls alone are not enough if the receiving endpoint, authorization logic, or token handling is weak. The OWASP API Security Top 10 is a useful reference when data movement happens through application interfaces and access decisions are part of the risk.
Where the real exposure differs in practice
At rest, the main failure mode is usually unauthorized access to a stored copy of the data. That can come from stolen storage credentials, misconfigured permissions, unencrypted backups, or overbroad administrative access. The important question is whether the repository can be read, copied, or restored by someone who should not have that ability.
In motion, the main failure mode is exposure during transfer or at the points where trust is established. Data can be intercepted on the wire, redirected to the wrong destination, or sent through an API or integration that is more permissive than intended. Current guidance generally treats these flows as part of the attack surface because movement creates more opportunities for misuse than static storage alone.
For practitioners, the strongest distinction is not just “stored versus transferred,” but “sealed repository versus reachable path.” A file encrypted on disk can still be exposed if the transfer channel, token, or integration is weak. That is why NIST AI Risk Management Framework and similar governance approaches emphasize managing data flow risk, not only protecting repositories.
For channels that depend on tokens or audience restriction, RFC 8707: Resource Indicators for OAuth 2.0 is relevant because it helps constrain where an access token can be used, which matters most when data moves across multiple services.
Why both controls are necessary, but not interchangeable
At-rest protection is designed to make stored data harder to read if media, backups, or databases are exposed. It is not a substitute for controlling who can query, export, or transmit that data once a legitimate session exists. In-motion protection is designed to make transfer safer, but it does not fix weak retention, broad storage access, or poor backup hygiene.
That separation matters because defenders sometimes overestimate one layer and underinvest in the other. A strong encryption-at-rest program can still leave data vulnerable during export, replication, API exchange, or admin transfer. A strong transport layer can still leave a database readable by too many users or exposed through a compromised backup set.
When the question is how data actually leaves a system, NIST Cybersecurity Framework 2.0 is a useful broader reference because it separates governance, protection, detection, and recovery rather than treating encryption as the whole answer.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack surface, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API2 — Broken Authentication | Data in motion often depends on API authentication to protect transfer paths. |
| API5 — Broken Function Level Authorization | Moving data through APIs is exposed when action-level authorization is weak. | |
| Recommendation — Harden API authentication for moving data between systems. Enforce function-level authorization on data-moving API actions. | ||
| NIST CSF 2.0 | PR.DS-02 — Data-in-transit is protected | This is the core control distinction for protecting data while it moves. |
| PR.DS-01 — Data-at-rest is protected | This directly maps to stored-data protection and repository exposure. | |
| Recommendation — Protect data in transit with authenticated, encrypted transport. Protect stored data with encryption and access controls. | ||
| NIST SP 800-53 Rev 5 | SC-13 — Cryptographic Protection | Encryption is central to both stored and transmitted data protection. |
| AC-6 — Least Privilege | At-rest exposure often hinges on overly broad read and export access. | |
| Recommendation — Use approved cryptography for stored and transmitted data. Restrict access to data stores and export paths by least privilege. | ||
| ISO/IEC 27001:2022 | A.8.24 — Use of cryptography | Cryptography is the main technical control for both data states. |
| Recommendation — Apply cryptography where data is stored and when it is transmitted. | ||
Practitioner Guidance
What to verify: Verify both the storage boundary and the transfer boundary. If you can only describe the encryption state of a database but not the controls on exports, APIs, backups, or service-to-service traffic, you do not yet understand the full exposure.
Decision rule: If the data can be copied, replayed, or routed through another system, treat in-motion protection as the first control to validate. If the concern is loss of a disk, backup, snapshot, or repository, prioritise at-rest protection and access limitation.
What good looks like: The stored copy is protected against unauthorized reading, and every movement path uses authenticated, constrained, and monitored transport so that exposure is reduced both where the data sits and while it travels.
Practitioner takeaway: The mistake to avoid is treating encryption as a single control. The real security question is whether data is protected at each place it exists and at every point it moves.
Related resources from NHI Mgmt Group
- What is the difference between validating data at rest and validating data in motion?
- What is the difference between data at rest, data in motion, and data in use?
- What is the difference between data discovery at rest and data discovery in motion for privacy governance?
- What is the difference between protecting data and governing the identities that access it?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 27, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org