back to course
Lesson 02 / 425%· free preview
Fundamentals2/6
The CIA Triad
Definition
The CIA Triad — Confidentiality, Integrity, Availability — is the foundational model behind every security control ever written.
Diagram
┌────────────────────────┐
│ CONFIDENTIALITY │
│ (only authorised │
│ parties read data) │
└──────────┬─────────────┘
│
┌────────────────┴────────────────┐
│ CIA TRIAD │
└────────┬───────────────┬────────┘
│ │
┌────────────┴─────┐ ┌────┴──────────────┐
│ INTEGRITY │ │ AVAILABILITY │
│ (no tampering) │ │ (uptime, access) │
└──────────────────┘ └───────────────────┘
1. Confidentiality
Only authorised people, systems and processes may read the data.
textControl Example ----------- -------------------------------- Encryption AES-256-GCM on disk, TLS 1.3 Access ctrl IAM, file ACLs, network ACLs Masking Show last 4 digits of card only
2. Integrity
Data must remain correct and un-tampered.
pythonimport hashlib with open("invoice.pdf", "rb") as f: digest = hashlib.sha256(f.read()).hexdigest() print(digest) # store and compare later
3. Availability
Authorised users get access when they need it.
bash# Availability controls in practice - redundant power + network - auto-scaling and load balancers - DDoS protection (Cloudflare, AWS Shield) - offline backups for ransomware recovery
4. CIA vs Extended Models
| Model | Adds | When to use |
|---|---|---|
| CIA | — | Most everyday work |
| AAA | Authentication, Authorisation, Accounting | Identity-heavy systems |
| Parkerian Hexad | Possession, Authenticity, Utility | Investigations & forensics |
Output
"An encrypted backup tape that Bob can read fails Confidentiality even though Integrity and Availability are perfect."
Common Mistakes
- Spending 80 % of budget on Confidentiality and ignoring Availability.
- Confusing Authenticity (the message really came from Alice) with Integrity.
- Forgetting Non-Repudiation — Alice cannot later deny she sent the message.
Quick Revision
Encryption protects C, hashing protects I, redundancy protects A.
Key Takeaways
- Every security control should map to at least one pillar.
- Real attacks usually break more than one pillar — design for all three.
- Extensions (AAA, Hexad) are useful but never replace CIA.
Interview Questions
Practice Questions
- Rate any app you used today 1–5 on each pillar.
- Draw a CIA diagram for a hospital records system.
- Find a recent breach in the news and map the failure to a pillar.
Pro Tips
- The CIA Triad is a foundational lens for all security discussions; apply it to every control and threat.
- Remember that the relative importance of C, I, and A can differ significantly for various data and systems.
- Availability often gets overlooked, but severe downtime can be as devastating as a data breach.
- When discussing a control, clearly state which pillar(s) it primarily addresses to show understanding.
- Recognize that many security controls will often support more than one pillar simultaneously.
AI-powered recap
Quick recap quiz?
We'll generate 5 MCQs from this lesson and check your understanding instantly. Takes ~30 seconds.
Ready to move on?
// feedback.matters()
Did this lesson help you?
