Skip to content
6 min read·Lesson 1 of 10

The CIA Triad and Security Principles

Learn the foundational vocabulary of cybersecurity — confidentiality, integrity, availability, and the supporting principles that guide every security decision.

Cybersecurity is a vast field, but every concept in it traces back to a small set of foundational principles. Get these right and the rest of the discipline starts to make sense.

The CIA Triad

The three letters of CIA describe what security tries to protect:

PropertyMeansThreatened by
ConfidentialityInformation is disclosed only to authorised partiesEavesdropping, data breaches, shoulder-surfing, insider leaks
IntegrityInformation is accurate and has not been altered without authorisationTampering, malware modification, fraudulent transactions
AvailabilityAuthorised users can access the system when they need toDDoS, ransomware, hardware failure, natural disasters

Every security control you encounter — encryption, hashing, redundancy, backups, MFA, firewalls — exists to protect one or more of these properties. When you evaluate a risk or design a control, ask: which leg of the CIA triad does this affect?

A useful extension is sometimes called the Parkerian Hexad, which adds:

  • Authenticity: the source is genuinely who it claims to be
  • Possession/Control: the owner retains physical or logical control over the asset
  • Utility: the data remains useful (e.g., not encrypted with a lost key)

AAA: Authentication, Authorization, Accountability

  • Authentication — proving you are who you claim to be (passwords, biometrics, hardware tokens).
  • Authorization — what an authenticated identity is allowed to do (read, write, admin).
  • Accountability — being able to prove who did what (audit logs, non-repudiation).

A common interview trap: "you logged in" is authentication; "you can access this file" is authorization. They are different problems and use different mechanisms.

Defense in Depth

No single control is perfect. Defense in depth layers multiple, independent controls so that a failure of any one does not compromise the system.

Imagine an attacker trying to reach a database that holds customer credit cards:

  1. Firewall blocks unsolicited inbound traffic
  2. WAF inspects HTTP requests for SQL injection
  3. Application validates input and uses parameterised queries
  4. Application authenticates the user (MFA)
  5. Authorization checks the user can read this customer
  6. Database connection uses a least-privilege account
  7. Card numbers are encrypted at rest with KMS
  8. Tokenization replaces real card numbers with tokens in most systems
  9. Audit logs are streamed off-host and alert on anomalies

To exfiltrate cards, the attacker must defeat all of these layers. Each one buys time and increases the chance of detection.

Principle of Least Privilege

Every identity — user, service account, container, function — should have the minimum permissions required to do its job, and no more. The blast radius of a compromised credential is exactly the permissions that credential had.

Practical applications:

  • An app that only reads data should not have write permissions
  • A backup process should not have rights to modify production data
  • Engineers don't need permanent admin access — use just-in-time elevation
  • Service accounts get scoped IAM roles, not *:*

Other Foundational Principles

PrincipleWhat it means
Separation of dutiesNo single person can both initiate and approve a sensitive action (e.g., creating a vendor and paying the invoice)
Fail secure / fail closedWhen a control fails, the system denies access rather than allowing it
Minimise attack surfaceFewer features, ports, and dependencies mean fewer ways in
Secure by defaultOut-of-the-box configuration is safe; users must take action to weaken security
Zero trustNever trust based on network location alone — always authenticate and authorize
KISS / economy of mechanismSimpler systems have fewer bugs and fewer attack paths

Risk = Threat × Vulnerability × Impact

Security is risk management, not risk elimination. You cannot secure everything to the same degree — and you don't need to. Quantify risk across three dimensions:

  • Threat: who or what might attack? Their capability and motivation.
  • Vulnerability: what weakness exists in the system?
  • Impact: what's the cost if the threat exploits the vulnerability?

You then have four ways to handle each risk:

  1. Mitigate — apply controls to reduce likelihood or impact
  2. Transfer — buy insurance, outsource to a more capable provider
  3. Accept — formally acknowledge and live with the risk
  4. Avoid — stop doing the activity that creates the risk

Every security decision in the rest of this course is, ultimately, an instance of this framework.

Key Takeaways

  • The CIA triad — Confidentiality, Integrity, Availability — is the foundation of every security program.
  • Authentication, authorization, and accountability (AAA) define who can do what and prove it.
  • Defense in depth layers controls so no single failure compromises the system.
  • Least privilege grants only the minimum access needed to do a job.
  • Risk = threat × vulnerability × impact — security is risk management, not risk elimination.

Test your knowledge

Try exam-style practice questions to reinforce what you've learned.

Practice Questions →