Lesson 3.2 Category: Module 3 · Security foundations

The CIA Triad

Confidentiality, integrity, and availability are the three goals behind almost every security decision, from passwords to backups.

What you’ll understand

  • The three goals of information security: confidentiality, integrity, and availability.
  • How to recognize which goal is affected when something goes wrong.
  • Why the three goals sometimes pull in different directions.

Think about your exam results at school. You probably cared about three different things, even if you never put them into words:

  • Only the right people should see your marks. Not the whole class.
  • Nobody should be able to change your marks, not even by accident.
  • When results day arrives, you should actually be able to see them.

Those three expectations are the heart of information security. They even have a name.

Three goals, one triad

The CIA triad is a simple model with three goals. (The name simply comes from the first letters of the three goals.)

Confidentiality

Only the right people can see the information.

  • Private messages stay private
  • Your medical record isn’t public

Integrity

The information is accurate and hasn’t been changed without permission.

  • A bank transfer amount stays correct
  • A downloaded app hasn’t been tampered with

Availability

The information and services work when people need them.

  • You can open your files
  • A hospital system stays online
The three goals of the CIA triad. Most security problems damage at least one of them.

Confidentiality: keeping secrets secret

Confidentiality means information is seen only by the people who are allowed to see it.

A leaked password breaks confidentiality. So does someone reading your messages over your shoulder, or a company accidentally publishing its customer list. Tools that protect confidentiality include passwords, screen locks, and encryption, which scrambles information so that only someone with the right key can read it.

Integrity: keeping information correct

Integrity means information is accurate and complete, and it hasn’t been changed by anyone who wasn’t allowed to change it.

If someone alters the amount in a payment request, integrity is broken, even if nobody else ever sees the message. Integrity also covers accidents: a file that gets corrupted when a laptop crashes has lost integrity too. Protections include permissions that limit who can edit things, records of changes, and checks that detect tampering.

Availability: being there when needed

Availability means information and services can be used when people need them.

A website knocked offline, a phone that won’t unlock because you forgot the code, and photos lost when a drive fails are all availability problems. Backups, spare equipment, and careful maintenance protect availability.

A concrete example

Imagine a family’s shared photo account.

  • Confidentiality: a stranger guesses the password and views private pictures.
  • Integrity: someone deletes the captions and dates, so nobody knows which trip was which.
  • Availability: the account is locked after a forgotten password, and nobody can get in for a week.

Same account, three different kinds of trouble. Naming which one happened tells you what to fix: a stronger password and second sign-in step, better permissions, or a working account-recovery plan.

Why the goals can pull against each other

Strengthening one goal can weaken another. Lock information away so tightly that almost nobody can reach it, and confidentiality goes up while availability goes down. Make everything instantly reachable by everyone, and the reverse happens.

Good security is often about balance. A hospital needs records to be both private and immediately available in an emergency. Neither goal can simply win.

A common mix-up

People often think security only means confidentiality: keeping secrets. But losing your only copy of something important, or having something quietly changed, can be just as harmful as having it seen. That is why backups (availability) and change checks (integrity) are security measures too, not just housekeeping. Some models add further goals, such as proving who sent something, but the triad is the usual starting point.

Try it safely

Think of one app you use every day. For each letter, write a short sentence: what would a confidentiality problem look like in that app? An integrity problem? An availability problem? There are no wrong answers here. The exercise is about learning to look at one thing from three angles.

Check your understanding

Someone changes the delivery address on your online order without permission. Which goal is affected?

Answer: Integrity. The information was changed by someone who wasn’t allowed to change it.

Your laptop’s drive fails and your only copy of a document is gone. Which goal is affected, and what would have helped?

Answer: Availability. A backup stored somewhere else would have let you recover the document.

Why can’t security simply maximize confidentiality?

Answer: Locking information away too tightly can stop the right people from using it when they need it, which harms availability.

The key idea

Security protects three things about information: who can see it (confidentiality), whether it is correct (integrity), and whether it is there when needed (availability). When something goes wrong, ask which of the three was harmed.

Further reading