Edexcel International Advanced Level Computer Science, point 12.3.1
Definition
The CIA triad is a model for information security built on three goals:
- Confidentiality: only authorised people can see the data.
- Integrity: data is accurate and hasn't been changed in an unauthorised way.
- Availability: authorised users can reach the data and systems when they need to.
(This is not the Central Intelligence Agency.)
Function and why needed
It gives a simple checklist for designing and judging security: for any system, ask how each of the three could be lost, and what protects each. A security failure is a failure of one or more of the three.
Confidentiality
- Meaning: keeping data private: only the right people can read it.
- Threats: hacking and unauthorised access, phishing and stolen passwords, eavesdropping on networks, malware that steals data (spyware), lost or stolen devices, insider leaks, shoulder surfing.
- Protections:
- Encryption of data in storage and in transit (3.2, TLS in 12.1.2).
- Authentication: strong passwords, multi-factor authentication (MFA), biometrics.
- Access control: permissions, least privilege (people get only the access they need).
- Firewalls (3.1.1) and network security.
- Staff training about phishing and social engineering.
- Example: a hospital's patient records should be visible only to the staff treating the patient.
Integrity
- Meaning: data is correct, complete and unaltered, whether by an attacker or by accident.
- Threats: tampering by attackers (changing a bank balance), malware, human error, hardware faults and corruption during storage or transmission, software bugs, man-in-the-middle attacks.
- Protections:
- Error detection (parity, checksums: 12.3.3), hashing (a changed file gives a different hash), and digital signatures (3.2.2).
- Access control: limits who can change data.
- Validation of input, and version control (6.3.2).
- Audit logs: record who changed what.
- Backups to restore correct data.
- Database integrity constraints (4.1.2).
- Example: an exam board's results must not be altered after marking without a record.
Availability
- Meaning: systems and data are working and accessible whenever authorised users need them.
- Threats: denial-of-service (DoS) and distributed DoS (DDoS) attacks (flooding a server), ransomware (locks data until payment), hardware failure, power cuts, natural disasters, network failures, software crashes, poor maintenance.
- Protections:
- Redundancy: duplicate hardware, power supplies and network links.
- Backups and disaster recovery plans, including off-site backups.
- Load balancing and scalable cloud services (12.4.1).
- DDoS protection and firewalls.
- Regular maintenance and updates.
- Uninterruptible power supplies (UPS).
- Example: an online shop that is down on Black Friday loses sales and customers' trust.
Summary table
| Confidentiality | Integrity | Availability | |
|---|---|---|---|
| Goal | Secret from the unauthorised | Correct and unaltered | Accessible when needed |
| Typical attack | Data theft, eavesdropping | Tampering, corruption | DDoS, ransomware |
| Key controls | Encryption, access control, MFA | Hashing, checksums, signatures, logs | Redundancy, backups, load balancing |
| If lost | Data breach | Wrong decisions, fraud | Service outage |
Balancing the three
The goals can conflict, and organisations must balance them:
- Very strong confidentiality (many logins, heavy encryption) can reduce availability (slower, harder to use, locked-out users).
- High availability (data copied to many locations) creates more places that could leak (confidentiality risk).
- Which matters most depends on the system: a secret military plan puts confidentiality first, a bank ledger needs integrity first, and an emergency call system needs availability first.
Worked example
Task: an online bank is attacked. For each incident, name which part of the CIA triad is affected, and a protection.
| Incident | Affected | Protection |
|---|---|---|
| Hackers steal customers' card numbers and passwords | Confidentiality | Encryption of stored data, MFA, intrusion detection |
| An attacker alters the amount in a payment on its way to the bank | Integrity | TLS and digital signatures / checksums to detect changes, audit logs |
| A DDoS attack makes the bank's website unreachable for hours | Availability | DDoS protection, load balancing, redundant servers |
| A disk fault corrupts the account records | Integrity (and availability) | RAID / redundant storage, checksums, backups |
A defence in depth approach uses several layers of control, so that if one fails, others still protect the data.
Exam tip: give a definition of each of the three, and match a threat and a protection to each, using the scenario. Don't confuse integrity with confidentiality: integrity is about data being correct, not private. Mention how they can conflict for a higher-level answer.
Check yourself
What do the letters CIA stand for in the CIA triad?
Confidentiality, integrity and availability.
Which part of the triad does a DDoS attack threaten?
Availability.
Give one way of protecting data integrity
Any one of: checksums or hashing; digital signatures; access control; audit logs; validation; backups.
Give one way of protecting confidentiality
Any one of: encryption; strong authentication or MFA; access control; firewalls.
Why can the three goals conflict?
Measures that increase one can reduce another, such as heavy security making a system harder to access (availability), or copying data to many places to keep it available creating more places it could leak.