Privacy note: We capture your IP address to provide customised and focused services. See our Privacy Policy.

Cybersecurity Essentials — Alpha School

Lesson 2: The CIA Triad: Confidentiality, Integrity and Availability

Security professionals organise their work around three goals, known as the CIA triad: confidentiality, integrity and availability. Confidentiality means keeping information private from those who should not see it. Integrity means keeping it accurate and unaltered. Availability means keeping it reachable by those who should be able to use it. Almost every security measure you will meet in this course serves one or more of these three goals, and almost every attack breaks one or more of them, so the triad is a useful lens for understanding both sides. This lesson explains each goal, shows how they pull against each other, and gives you a way to judge whether a system is secure.

Confidentiality: keeping secrets secret

Confidentiality is the goal most people think of first when they hear the word security. It means that information is seen only by those allowed to see it: your messages are read only by you and the person you sent them to, your medical records are seen only by you and your doctor, and a company's plans are seen only by its staff. The tools of confidentiality are the ones you will study in this course: passwords and authentication, encryption, and access controls that decide who may open a file or enter a system. A confidentiality failure is a leak, and its harm depends on what leaked: a leaked password can be changed, but a leaked photo or medical record cannot be taken back, which is why some information deserves far stronger protection than other information.

Integrity: keeping information true

Integrity is the goal people forget, and it is often the most dangerous one to lose. It means that information has not been changed by anyone who should not change it, whether by accident or on purpose. A worked example: a student changes their own grade in a school system, or an attacker changes the amount on a bank transfer from 10 to 10,000, and the numbers still look ordinary, so nobody notices. Integrity is protected by checks such as digital signatures, which prove a file came from who it claims and has not been altered, and by access controls and logs that record who changed what and when. When you download software, the checksum you are sometimes asked to verify is an integrity check, and skipping it means trusting that nobody tampered with the file on its way to you.

Availability: keeping things working

Availability means that information and systems are there when the people who need them try to use them. A hospital's patient records are useless if the system is down during an emergency, and a school's exam timetable is useless if the website is unreachable on the morning of the exams. Attacks on availability are called denial-of-service attacks: an attacker floods a server with so many requests that real visitors cannot get through, like a crowd blocking a shop doorway. Defences include spare capacity, backups, and spreading a service across several servers so that one failing does not take the whole service down. Availability is also the reason backups matter: if ransomware locks your files, a recent backup is the difference between an inconvenience and a disaster.

The CIA triad

CIAConfidentialityonly the right people can see itIntegrity: it has not been alteredAvailability: it is there when needed

Every security decision trades between the three corners: more of one often costs some of another.

When the three goals pull apart

The three goals often conflict, and good security is about balancing them, not maximising one. A system that is perfectly confidential but nobody can use is useless, and a system that is always available but lets anyone read everything is dangerous. A worked example: a school could protect exam papers by locking them in a safe that only the headteacher can open, which is excellent confidentiality, but if the headteacher is away on exam morning, availability fails and the exams cannot run. The sensible answer is a balance: two trusted people hold keys, and the papers are logged in and out. When you design or judge a security measure, ask which corner of the triad it helps and which it hurts, and whether the balance is right for the people who will use it, because a measure that ignores the trade-off will be worked around, and a worked-around measure protects nobody.

Key Terms

CIA triad
The three goals of security: confidentiality, integrity and availability.
Confidentiality
Keeping information private from those who should not see it.
Integrity
Keeping information accurate and unaltered by anyone who should not change it.
Availability
Keeping information and systems reachable by those who should be able to use them.
Denial-of-service attack
Flooding a server with requests so real visitors cannot get through.
Checksum
A short value computed from a file, used to check that the file has not been altered.
Access control
Rules deciding who may open a file, enter a system, or change something.

Discussion Questions

  1. A hospital's patient records must be confidential, accurate and available in an emergency. Which goal is hardest to protect in that setting, and why?
  2. An attacker changes the amount on a bank transfer from 10 to 10,000. Which part of the triad is broken, and why might nobody notice?
  3. Can you think of a security measure that helps one corner of the triad but hurts another?

Practice Questions

  1. What are the three goals of the CIA triad?
  2. Which goal is broken when a student's grade is changed without permission?
  3. What is a denial-of-service attack, and which goal does it attack?
  4. What is a checksum for?
  5. Why is balancing the triad better than maximising one goal?
Show answers
  1. Confidentiality, integrity and availability. Confidentiality keeps information private, integrity keeps it accurate, and availability keeps it reachable.
  2. Integrity. The information has been altered by someone who should not change it, even though it may still look ordinary.
  3. It floods a server with requests so real visitors cannot get through, attacking availability. The information is still private and accurate, but nobody can reach it.
  4. It checks that a file has not been altered. You compare the checksum of the file you received with the one published by the author, and a mismatch means tampering.
  5. Because the goals conflict. Perfect confidentiality that nobody can use is useless, so a good design protects all three in the right balance for its users.
Keep reading to complete this lesson