Concepts / Security foundations

Security foundations

Data states

Also called data at rest, data in transit, data in motion, data in use

The three places a piece of data can be: kept on a disk (at rest), travelling between machines (in transit), or held by a running program (in use). Each needs its own protection.

Encrypted is three questions
Encrypted is three questions

The same record is on a disk, on the wire and in a program's memory at once. Disk encryption and TLS each cover one state; data in use is readable in memory, so only control of the machine protects it.

Data states are the three places data can be, each needing its own protection. At rest it sits on a disk or in a backup; encrypting the disk, file or field protects a stolen copy. In transit it travels between machines; [[tls]] protects one hop. In use it sits readable in a running program's memory, where encryption can't cover it; controlling who can sign in to the machine does. "Is it encrypted?" is therefore three questions. See [[tokenisation]] and [[dlp]].

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab