CYBER WELFARE

Protect your Digital Privacy

Data in Transit vs Data at Rest: Two States, Two Protections

Additional resource for the lesson “Data in Transit vs Data at Rest” — Data Protection course

Data in transit vs data at rest is a simple distinction with practical consequences. A file is either moving across a network, sitting in storage, or open on a screen, and each state has its own protection. This resource explains the three states with everyday examples and helps you check, for three items you care about, which protections you already have and where the one gap is.

The key idea: encryption is not one switch that covers a file for life. The protection that guards it on the way is not the one that guards it in storage, and neither guards it while it is open in front of you.

A. Why this matters

In this course, data protection means looking after the data you hold: keeping it confidential, intact and available, from the day it is created to the day it is deleted, and beyond. Along that life, a file keeps changing state. A photo rests on your phone, travels to a cloud account, rests again on a server, and is in use when you open it to show a friend.

It is easy to hear “this service is encrypted” and assume the question is settled. It may be, for one state. For the others, it depends on where the encryption starts, where it ends and who holds the key.

What the sources say

The UK’s Information Commissioner’s Office (ICO), the independent authority for data protection, makes the split explicit in its guidance on encryption. Encrypting data on the move “provides effective protection against interception of the communication by a third party while it is in transit.” But without extra measures such as encrypted storage, “the data will only be encrypted while in transit”: it arrives, and is stored, readable. The ICO notes that this guidance is under review after a change in UK law, so details may change.

For stored data, the ICO calls encryption “especially effective in protecting the information from unauthorised access”, for example on a lost device. Yet “full disk encryption or use of secure containers offers little protection once a user has decrypted the data.” That is the third state: data in use.

The UK’s National Cyber Security Centre (NCSC), in its cloud security principles, adds a second reason: “User data transiting networks should be adequately protected against tampering and eavesdropping.” Transit protection concerns integrity as well as confidentiality.

In France, the data protection authority CNIL makes the same split in its 2024 guide on the security of personal data: TLS on pages “on which personal data are displayed or transmitted”, and, separately, hard disk encryption for laptops and removable media. It is written for organisations, but the logic travels well to a household.

B. Key concepts: data in transit vs data at rest, and data in use

Five ideas to tell which state a file is in, and what protects it there.

Data in transit

Data is in transit while it moves across a network: a page loading in your browser, a photo uploading to the cloud, an email travelling between mail services. The usual protection is transport encryption, such as TLS (Transport Layer Security, the protocol behind the “S” in HTTPS), which encrypts the connection between your device and the service. How HTTPS sets up that encryption and checks the site’s certificate is explained on its own page.

Why it matters to you: Transport encryption protects the journey, not the destination. The service at the other end receives your data readable, by design, because it needs to work with it.

Data at rest

Data is at rest while it is stored: on a phone, a laptop, a USB stick, a provider’s server, a backup. The protection here is storage encryption, such as disk encryption, which keeps the whole drive unreadable without the key. How device encryption works has its own page, covering the chain of keys behind your unlock code and how device, connection and message encryption differ.

Why it matters to you: Count the copies, then check each one. An encrypted laptop says nothing about the USB stick next to it, or about the copy in your email.

Data in use

Data is in use while it is open: a document on screen, a photo you are showing, a file an app is reading. To be used, it has to be decrypted and held in the device’s working memory. Storage encryption stands aside at that moment, which is why the ICO describes it as offering “little protection” once the data has been decrypted.

Why it matters to you: In use, the protections are practical ones: locking the screen when you step away, and running only apps you trust, since software with enough permissions can read whatever the device has decrypted.

Who holds the key

“Encrypted at rest” on a provider’s servers does not tell you who can decrypt it. Apple, for example, says that with its default setting “your iCloud data is encrypted in transit and stored in an encrypted format at rest”, with the keys secured in Apple’s data centres so that it can help you restore data. Microsoft says OneDrive encrypts each stored file “with a unique AES256 key”, itself protected by master keys in Microsoft’s key service. In both cases the provider manages the keys.

End-to-end encryption (E2EE) is different: data is encrypted on your device and can be decrypted only on your own devices or the recipient’s. Apple’s optional Advanced Data Protection works this way for most iCloud categories, with a trade-off: if you lose access, “Apple will not have the encryption keys to help you recover it.”

Why it matters to you: Neither model is simply better. Provider-held keys make recovery easier; keys held only by you narrow who can read the data, and losing them is your risk.

Encryption guards secrets, not copies

Encryption in any state protects confidentiality: who can read the data. It does not keep a file available: an encrypted USB stick that stops working takes its contents with it.

Why it matters to you: Keep “could the wrong people read it?” separate from “would I still have it if this copy went?” Only a second copy answers the second question.

C. A practical example: Elena’s three items, three states

Elena is 35 and works in marketing. A few weeks after making her personal data inventory, which had turned up her passport scan in three places, photos synced to a cloud account and her portfolio on a USB stick, she spent a Saturday morning at a café with her laptop. She now wanted to know how each item was protected, not just where it was.

She took the three items one by one:

  • Photos. The upload to her cloud account was encrypted in transit. At rest, they were protected on her phone by its encryption and passcode, and in the cloud by encryption whose keys the provider held.
  • Passport scan. It sat in two old emails and in her laptop’s Downloads folder. The email lock icon showed that the messages had been protected in transit, but they now rested on the mail service’s servers, encrypted there, if at all, with keys the service held.
  • Portfolio. On her encrypted laptop it was protected at rest. On the USB stick, it was not encrypted at all.

What changed when Elena looked at the states

Most of it was already in good order. Three things stood out:

  • The USB stick was the one copy with no protection at rest. She decided to encrypt it, and to check that both copies of the portfolio still opened.
  • The passport scan did not need to live in old emails. She deleted the old emails and emptied the deleted items folder, knowing that deleting is not always erasing, and kept one copy on her laptop; next time, she would send such a file encrypted rather than as a plain attachment.
  • She had left her laptop open and unlocked while she went to the counter. Whatever was on screen had been in use, and readable by anyone at the table.

For the photos, she read what her provider’s end-to-end option would change and what it would ask of her, and gave herself a week to decide. She started locking her screen whenever she stood up.

D. Try it yourself: three items, three states (20 minutes)

Four short steps, on paper or in a note. Use the list from your personal data inventory; if you have not made one, think of three kinds of data you would least like strangers to read. Write categories, places and labels only, never passwords, document numbers or the data itself.

Step 1 — Choose three items and draw a grid (3 minutes)

  • Pick three items that live in different ways: photos that sync to the cloud, a document sent by email, files on a laptop or USB stick.
  • Draw three columns: “In transit”, “At rest”, “In use”.
  • Under “At rest”, leave room for every place the item is stored: one line per copy.

Step 2 — Check how each item travels (6 minutes)

  • For anything you upload or send through a website, look at the security symbol to the left of the address bar. In Firefox, a padlock means the connection “is encrypted to prevent eavesdropping”; Chrome’s help explains its security status symbol in a similar way. These browsers are examples, not recommendations.
  • For email, look for your service’s security indicator. Gmail, for example, marks messages protected in transit with a grey lock, shows a red open lock for unencrypted ones, and lets you check through “Message security” when writing or the recipient details when reading.
  • For a chat app, note whether it says chats are end-to-end encrypted.

Step 3 — Check where each item rests (6 minutes)

  • For each copy on your own devices, write whether the device or drive is encrypted, or “check” if unsure: the next resources in this section show how.
  • For each copy with a provider, look up who holds the key. Apple’s iCloud data security overview, for example, lists which categories are end-to-end encrypted by default and which only with Advanced Data Protection.
  • Mark any copy that is stored with no encryption at all, such as an ordinary USB stick or an old external drive.

Step 4 — Check the item in use and name the gap (5 minutes)

  • Note where you usually open the item: at home, at work, on a train, on a shared computer.
  • Note whether the screen locks when you step away, and whether the apps that open it are ones you chose and keep updated.
  • For each item, circle the cell with the weakest protection and write one change for it: encrypting a USB stick, removing a copy you no longer need, or sending it differently next time.

Already covered in the Online Security course

Data Encryption: Already On, and Worth Understanding
It explains the encryption already running on your devices, why your unlock code matters to it and why backup drives need encrypting, and, like this resource, notes that cloud storage can be encrypted yet readable by the provider; this resource adds data on the move and data in use, and checks all three states for items you choose.

E. Videos, articles and further resources

Institutional guidance first, then platform documentation for the checks in section D. All in English.

Institutional sources

Information Commissioner’s Office (UK) — Encryption and data transfer
Written for organisations: what encryption in transit protects, and why data sent encrypted can still be stored readable at the other end.
https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/security/encryption/encryption-and-data-transfer/

Information Commissioner’s Office (UK) — Encryption and data storage
Written for organisations: full disk and file encryption for stored data, and why they offer little protection once data is decrypted for use.
https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/security/encryption/encryption-and-data-storage/

National Cyber Security Centre (UK) — Principle 1: Data in transit protection
The NCSC’s cloud security principle on protecting data against tampering and eavesdropping as it moves.
https://www.ncsc.gov.uk/collection/cloud/the-cloud-security-principles/principle-1-data-in-transit-protection

CNIL (France) — Practice guide for the security of personal data: 2024 edition
The French data protection authority’s guide for organisations, with separate measures for encrypted connections and encrypted storage.
https://www.cnil.fr/en/practice-guide-security-personal-data-2024-edition

Platform documentation

Apple Support — iCloud data security overview
Which iCloud data is encrypted at rest with keys held by Apple, which is end-to-end encrypted, and what Advanced Data Protection changes.
https://support.apple.com/en-us/102651

Microsoft Support — How OneDrive safeguards your data in the cloud
How OneDrive protects files in transit with TLS and at rest with a separate key for each file.
https://support.microsoft.com/en-us/onedrive/how-onedrive-safeguards-your-data-in-the-cloud

Mozilla Support — How do I tell if my connection to a website is secure?
What the padlock in Firefox means for data in transit, and how to open the site information panel.
https://support.mozilla.org/en-US/kb/how-do-i-tell-if-my-connection-is-secure

Gmail Help — Learn how Gmail encrypts your emails
What the grey and red lock icons mean, and how to check whether a message is protected in transit.
https://support.google.com/mail/answer/6330403?hl=en

Links checked in November 2026. If an address changes, searching for the title on the organisation’s site usually finds it.

F. The Cyber Welfare Framework: Skills, Awareness, Secure Behaviour

This resource sits on the Skills pillar at level FL2 – Beginner, where the work is checking, item by item, which protection is really in place.

Skills

  • Telling whether a file is in transit, at rest or in use.
  • Reading the security indicator of a browser or an email service.
  • Finding out whether a provider or you hold the key to data stored in the cloud.

Awareness

  • Knowing that transport encryption ends where the data arrives.
  • Understanding that storage encryption stands aside while data is open.
  • Recognising that “encrypted” protects who can read, not whether you still have the data.

Secure Behaviour

  • Checking how a confidential file will travel before sending it.
  • Giving every stored copy its own protection, or removing the copies you do not need.
  • Locking the screen when you step away from an open device.

G. Questions to sit with

  • Which of your files exists in the most states at once, and which state is the least protected?
  • For your cloud storage, would you rather the provider could help you recover it, or that only you could read it?
  • Where do you usually open your most private documents, and who could see the screen there?

H. What to do now

The recommendations (R) and security measures (MS) from the Cyber Welfare database that apply most directly here.

1. Protect data on the way

  • R9 — Browse only over HTTPS, so that what you upload or type into a website is encrypted between your device and the site. It protects the journey; what the site does with your data afterwards is a separate question.
  • Before sending a confidential document by email, look at your service’s security indicator. Encryption in transit does not cover the copies left in the mailboxes at each end, so for your most private files an encrypted attachment is the safer choice.

Minimum commitment: this week, make the one change you wrote down for the weakest cell of your grid, starting with the item you would least like a stranger to read.

2. Protect data where it rests and while it is open

  • R18 — Encrypt your personal devices, so that copies on a lost or stolen phone, laptop or drive stay unreadable without your key. It does not protect copies kept elsewhere, and it does not replace a backup.
  • For cloud storage, decide knowingly between provider-held keys and an end-to-end encrypted option, and if you choose the second, keep its recovery method somewhere safe.
  • Lock your screen when you step away: an open file is in use, and storage encryption does not cover it.

Minimum commitment: for the cloud folder that holds your most private files, find out today whether the provider or only you can decrypt it.

In short

  • Data in transit vs data at rest: a file on the move or in storage; data in use is the third state, when it is open.
  • Transport encryption protects the journey; storage encryption protects each stored copy; in use, a locked screen and trusted apps do the work.
  • “Encrypted at rest” in the cloud usually means the provider holds the key; end-to-end encryption means only your devices do.
  • Encryption protects who can read your data, not whether you still have it.

Related resources in this course

Discover more companion resources from the online courses of the Protect Your Digital Privacy programme.

If you would like to follow the whole path, the Cyber Welfare Program is free and open to everyone.

→ Join the Cyber Welfare Program