The CIA Triad
the three things security is actually trying to protect
Every security decision, at some level, is trying to protect one of three things: Confidentiality, Integrity, or Availability. Together they're called the CIA triad.[1] It's the closest thing this field has to a unifying theory.
Confidentiality
Keeping information away from people who shouldn't see it. Encryption, access control, and least privilege all exist to serve this — the idea that only the right eyes see the right data.
Integrity
Making sure data isn't altered — accidentally or maliciously — without detection. A hash mismatch, a tampered log file, a modified financial record: integrity is about trusting that what you're looking at is what was actually put there.
Availability
Making sure systems and data are actually there when needed.[2] A perfectly confidential, perfectly untampered system that's been knocked offline by a denial-of-service attack has still failed — just on a different axis.
The trade-off
Most real incidents involve a tension between these three. Lock things down too hard for confidentiality and you hurt availability. Optimize purely for uptime and you might be leaving a door unlocked. Good security design is a constant balancing act between the three corners of this triangle.
Sources
Test yourself
My notes
Private — saved only on this device, never sent anywhere.