What is the CIA triad?
Cybersecurity means protecting computers, apps, and the information inside them from people who should not touch them. That is a huge job. So experts use a simple checklist to decide what to protect and how.
The checklist is called the CIA triad. A triad is a group of three. The three goals are confidentiality, integrity, and availability. (This CIA has nothing to do with the spy agency. It is just the first letters of the three words.)
Confidentiality
Only the right people can see the information. Think of a diary with a lock.
Integrity
The information is correct and nobody changed it by accident or on purpose. Think of grades in a gradebook.
Availability
The right people can get to the information when they need it. Think of a game server that is up.
When you hear about a hack, a leak, or an outage in the news, one or more of these three goals was broken. Learning to say which one is the first skill of a security pro. It is also the best way to learn cybersecurity basics as a student.
Memory trick: Ask three questions. C: can someone who should not see this, see it? I: is it still correct? A: can I use it right now? A bad answer to any of them means a goal is broken.
Explore the triangle
The three goals sit at the corners of a triangle with your data in the middle. Hover, tap, or use the Tab and Enter keys on a corner to see what it means and what it looks like in real life.
// pick a corner
Confidentiality
- Real example
- It breaks when
- Key question
Words you will see: A breach is when someone gets into data they should not see. An attacker is a person who breaks the rules on purpose. A threat is anything that could harm your data, including a power cut or a spilled drink.
Which goal got broken?
Read each short story. Tap the goal (or goals) that the attack broke, then press Check. Some stories break two goals. A few have a twist, so read the feedback.
Pick one or more. Pick every goal the story breaks.
Turn the dials
Here is the tricky part. You cannot max out all three goals at once. Locking one goal down often hurts another. Move the sliders and watch the meters.
Resulting protection (simplified model)
The numbers are a teaching model, not real measurements. The lesson is real, though. A login that asks for five proofs keeps strangers out, but it can also lock out the real owner at 7 a.m. before a test. More copies of a file keep it available, but every extra copy is one more place it could leak. Security teams do not chase a perfect score. They ask what matters most for the job and set the dials to match.
How people protect each goal
A defense (also called a control) is any tool or habit that protects data. Here are three common ones for each goal.
- Encryption
Scrambles data into unreadable code. Only someone with the key can unscramble it. Messaging apps use it so a stranger on the Wi-Fi sees nonsense.
- Passwords and 2FA
A strong password proves who you are. 2FA (two-factor authentication) adds a second proof, like a code sent to your phone.
- Access control
Rules for who may open what. A teacher can see a class's grades. A classmate cannot. Giving people only the access they need is called least privilege.
- Hashes
A hash is a short fingerprint of a file. Change one letter and the fingerprint changes completely, so you can spot tampering.
- Version history
Tools like Google Docs keep old versions. If someone wrecks a file, you can see who changed it and roll back.
- Logs and permissions
A log records every change. Only certain people can edit, and everyone knows their edits are recorded.
- Redundancy
Keep spare parts ready. If one server fails, another takes over so players barely notice.
- Backups
Save copies somewhere else. If ransomware locks the main files, you restore the backup. A clean backup also repairs integrity.
- DDoS protection
A DDoS attack floods a site with fake visits until real users cannot get in. Protection services filter out the flood.
See a hash catch a change
These two lines differ by one letter. Their SHA-256 hashes (a common kind of hash) look nothing alike. If a hacker edited a saved grade, the stored fingerprint would no longer match.
Try it on your own accounts today
- CTurn on 2FA for your email and your games. Email matters most, because it can reset every other password.
- CUse a different password for each account, so one leak does not open everything.
- ICheck before you trust. A message that says "I'm locked out, send me your code" may not be from your friend.
- ABack up photos and school files in a second place, so a lost phone is an annoyance and not a disaster.
Common questions about the CIA triad
What does CIA stand for in cybersecurity?
Confidentiality, integrity, and availability. It is not the spy agency. These are the three goals that most security work protects.
Why is it called a triad?
A triad is a group of three. The goals work together, and pushing hard on one can weaken another, so security teams balance all three.
Are there more than three goals?
Some experts add authenticity (proving someone is who they say they are) and non-repudiation (proving who did an action so they cannot deny it). The CIA triad is still the standard starting point.
Which goal matters most?
It depends on the job. A hospital needs availability and integrity first, because a wrong or missing record can hurt someone. A private diary needs confidentiality first. Teams choose the balance that fits.
Quick quiz
1. Your school's online gradebook is down for the whole day because of a power failure. Which goal was hurt?
2. Which defense mainly protects confidentiality?
3. A hacker quietly changes the price of an item in an online store from $50 to $5. Which goal broke?
Keep learning cybersecurity
You now have the three questions every security pro asks. Next, see how one of the strongest confidentiality tools works, or explore full cybersecurity courses with hands-on practice.
CodeHS cybersecurity courses build on these three goals in labs on passwords, encryption, networks, and defending real systems.