00->1
Learning pathStep 7 of 62Foundations ← All writeups

The CIA Triad, Explained

If you are reading this, you have probably met the three letters C-I-A in almost every security course, and you want to know what they really mean and why everyone starts there.

By the end you will be able to define confidentiality, integrity and availability in plain words, say which one is broken in a real situation, name the safeguards that protect each one, and explain why the triad is used as the starting point of information security. You will also know its limits.

First, a clarification: the CIA here has nothing to do with the Central Intelligence Agency. It stands for Confidentiality, Integrity and Availability.


1. What the CIA Triad is, and why it exists

Information security is the job of protecting information and the systems that hold it. NIST defines it as:

"The protection of information and information systems from unauthorized access, use, disclosure, disruption, modification, or destruction in order to provide confidentiality, integrity, and availability." (NIST glossary, from FIPS 200)

Notice the end of that sentence. The whole purpose of information security is to provide these three things. That is why they are called the security objectives, and why the triad is the foundation of the field.

The three questions

Take any system and ask three questions about its information:

Property The question What goes wrong when it fails
Confidentiality Can only the right people see it? Someone unauthorized sees it
Integrity Can I trust it is correct and unaltered? Someone changes or destroys it without permission
Availability Can the right people use it when they need it? Access or use is disrupted

FIPS 199 states these three failures in one line each: a loss of confidentiality is "the unauthorized disclosure of information", a loss of integrity is "the unauthorized modification or destruction of information", and a loss of availability is "the disruption of access to or use of information or an information system."

One example you can picture

A hospital keeps electronic patient records.

  • Confidentiality: only the patient's care team may read the record. A stranger reading it is a confidentiality failure.
  • Integrity: the record must be correct. If someone changes an allergy from "penicillin" to "none", that is an integrity failure, and it could hurt the patient.
  • Availability: the record must open when the doctor needs it. If the system is down during an emergency, that is an availability failure.

The same data, three different ways to fail, and three different sets of safeguards.


2. Confidentiality: only the right people can see it

Definition

The US law behind NIST's standards (44 U.S.C. §3542) defines confidentiality as:

"Preserving authorized restrictions on information access and disclosure, including means for protecting personal privacy and proprietary information."

In everyday words: keep information away from people who are not allowed to have it. The key word is authorized. Confidentiality is not secrecy from everyone; it is access limited to the right people.

Confidentiality and privacy

They are related but not identical. Privacy is about people's rights over their personal information. Confidentiality is the protection that keeps information from unauthorized people, whether it is personal or not (a company's unreleased product design is confidential even though it is not personal). The legal definition above mentions privacy as one thing confidentiality helps protect.

How it is lost

Common ways: a stolen laptop, a compromised password, a sensitive email sent to the wrong person. Another very common cause is a system set up so that data is open to people who should not see it (a security misconfiguration, which is category A02 in the OWASP Top 10:2025).

How it is protected

Safeguard What it does
Access control Only identified, permitted users can open the data. On Linux, this is the permission system you learned in the Linux post
Least privilege NIST: a system should "restrict the access privileges of users (or processes acting on behalf of users) to the minimum necessary to accomplish assigned tasks." This limits what a stolen account can reach
Strong authentication Passwords plus a second factor (MFA) make it harder for others to pretend to be a user
Encryption NIST defines it as "the cryptographic transformation of data to produce ciphertext." Without the key, intercepted or stolen data is unreadable. Used in transit (TLS, which gives HTTPS) and at rest (on disks)
Classification and handling rules Labelling information by sensitivity so it is handled and shared appropriately

Encryption is one tool for confidentiality, not the definition of it. Confidentiality can also be lost without any encryption problem, for example if an authorized person copies data and sends it to the wrong address.


3. Integrity: it is correct and has not been tampered with

Definition

The same law defines integrity as:

"Guarding against improper information modification or destruction, and includes ensuring information nonrepudiation and authenticity."

For data specifically, NIST describes data integrity as "a property whereby data has not been altered in an unauthorized manner since it was created, transmitted, or stored."

Three points make this clearer:

  • Modification and destruction both count. Deleting records without permission is an integrity failure just like changing them.
  • Definitions vary slightly. NIST stresses that data has not been altered without authorization. Other common definitions speak of "maintaining and assuring the accuracy and completeness of data over its entire lifecycle" (Wikipedia). Both describe the same goal: data you can rely on.
  • Accidents count. An authorized person who changes the wrong file by mistake has also broken integrity. It is not only about attackers.

The legal definition adds authenticity (data really comes from where it claims to come from) and non-repudiation (the origin cannot later be denied). These are covered in section 7.

How it is lost

An attacker alters a payment amount or account number in an invoice. Malware changes system files. A faulty disk or a transmission error corrupts data. A well-meaning employee overwrites the wrong version of a document.

How it is protected

Safeguard What it does
Access control (write permissions) Only authorized people can change or delete data. Again, Linux file permissions are an example
Hashing NIST defines a hash function as "a function that maps a bit string of arbitrary length to a fixed-length bit string." Change one character in the data and the hash changes completely, so changes can be detected
Digital signatures NIST: "a mechanism for verifying origin authentication, data integrity, and signatory non-repudiation." They show both that data was not changed and who signed it
Logging and version history Records who changed what and when, so changes can be traced and undone
Backups Let you restore the last good copy after damage

Try it: see a hash catch a change

On Linux use sha256sum; on macOS use shasum -a 256. SHA-256 gives the same result on both. On Windows, PowerShell has Get-FileHash invoice.txt, which uses SHA-256 by default; or run the commands below in WSL (see Linux Fundamentals). Windows editors can store a line ending differently, which changes the bytes and therefore the hash: the same lesson in another form.

printf 'Pay 100 to Account A\n' > invoice.txt
sha256sum invoice.txt
# 9de5259c179452db0e89121e75fc783362a2b29801322bfd8c222c00a9103ec7  invoice.txt

printf 'Pay 900 to Account A\n' > invoice.txt
sha256sum invoice.txt
# c035a03601399876d358edcc48e24588b4cd7d1ec3e37e7ea030f176994ad2e4  invoice.txt

One character changed (100 to 900) and the whole hash is different. If you had saved the first hash somewhere safe, you would know the file was altered.

Two warnings that beginners often miss

  1. A hash only proves integrity if the reference hash is trustworthy. If an attacker can change both the file and the stored hash, you learn nothing. This is why important downloads publish hashes on a separate trusted page, and why digital signatures exist.
  2. Encryption alone does not guarantee integrity. The OWASP guidance on cryptographic failures (A04) recommends authenticated encryption rather than encryption alone. Authenticated encryption protects both secrecy and integrity.

4. Availability: it is there when you need it

Definition

The law defines availability as:

"Ensuring timely and reliable access to and use of information."

Two words matter: timely and reliable. Information that arrives eventually, or works only sometimes, is not truly available. The NIST glossary entry for denial of service makes the same point about time-critical operations: what counts as "time-critical" depends on the service, from milliseconds to hours.

How it is lost

  • Attacks. NIST defines a denial of service as "the prevention of authorized access to resources or the delaying of time-critical operations." A flood of traffic that makes a website unusable is the classic case.
  • Ransomware. CISA describes it as malware "designed to encrypt files on a device, rendering any files and the systems that rely on them unusable." Your files exist, but you cannot use them, so availability is lost.
  • Non-attacks. Hardware failure, a power cut, a software bug, a bad update, human error or a natural disaster can all make information unavailable. Availability is as much about reliability as about attackers.

How it is protected

Safeguard What it does
Backups CISA recommends keeping offline backups so that an encryption attack cannot reach them. Backups only count if you have tested restoring from them
Redundancy Duplicate critical parts (servers, disks, network links, power) so one failure does not stop everything
Patching and maintenance Fixes flaws and keeps systems healthy
Monitoring and alerting Notice problems early
Denial of service protection Filtering and capacity to absorb traffic floods
Incident response and recovery plans A tested plan for getting back to normal quickly

5. The three together

Side by side

Confidentiality Integrity Availability
In one phrase Only the right people see it It is correct and unaltered It is there when needed
Lost when Unauthorized disclosure Unauthorized modification or destruction Access or use is disrupted
Typical example Stolen laptop with customer files Altered invoice Website down
Key safeguards Access control, encryption, MFA Hashes, signatures, write controls, logs Backups, redundancy, DoS protection

One event can break more than one

Real incidents often hit several at once. Match each event to the properties:

Event Properties lost Why
Unencrypted laptop with customer data is stolen Confidentiality The data may be disclosed
Someone changes a price in the product database Integrity Data was modified without permission
A traffic flood takes the website offline Availability Access is disrupted
Ransomware encrypts the file server and the attackers threaten to leak stolen data Availability and confidentiality Files are unusable; CISA notes that ransomware actors "often target and threaten to sell or leak exfiltrated data or authentication information if the ransom is not paid"
An employee accidentally deletes a shared folder Integrity (and availability until it is restored) FIPS 200 counts improper destruction as an integrity failure; people cannot use the files

Why not just protect everything the maximum?

Because protection costs money, time and convenience, and different information needs different priorities. FIPS 199 builds a method on this idea. For each type of information you rate the impact of losing each property as low, moderate, high (or "not applicable" for confidentiality only):

  • Low: a "limited" adverse effect, such as noticeably reduced effectiveness or minor financial loss.
  • Moderate: a "serious" adverse effect, such as significantly reduced effectiveness, significant damage or significant financial loss.
  • High: a "severe or catastrophic" adverse effect, such as an inability to perform primary functions, major financial loss, or severe harm to people.

FIPS 199 gives three worked examples that show how different the answers are:

Information Confidentiality Integrity Availability
Public information on a web server Not applicable Moderate Moderate
Extremely sensitive investigative information High Moderate Moderate
Routine administrative information Low Low Low

Notice the first row. Public web content has no confidentiality need (everyone may read it), yet integrity and availability still matter, because a defaced or unreachable public website causes real harm. That is the practical value of the triad: it tells you what to protect and how much, instead of treating security as one blurry idea.

Trade-offs

The three properties can pull against each other, and security work is partly about balancing them. For example, very strict access rules protect confidentiality but can slow people who urgently need the data, which hurts availability; keeping many copies helps availability but gives more places for the data to leak.


6. Where it comes from

The idea is old. A few facts about its history:

  • Three kinds of security failure were described in the early work on computer security. The classic paper by Saltzer and Schroeder, The Protection of Information in Computer Systems, lists them as unauthorized information release, unauthorized information modification, and unauthorized denial of use, and credits the earlier Anderson report for this three-part framing (Saltzer and Schroeder, MIT).
  • Those three map directly onto confidentiality, integrity and availability.
  • The concept appears in the 1972 Anderson Report, and the abbreviation "CIA" is credited to Steve Lipner, around 1986 (Wikipedia).

Today the triad is the base of the major standards. ISO/IEC 27000 defines information security as the preservation of confidentiality, integrity and availability of information, and it is the language of the NIST standards used above.


7. Where the triad stops being enough

Many security professionals say the triad is a good starting point but not the whole picture. These are the terms you will meet next.

Term Meaning
Authenticity NIST: "The property that data originated from its purported source." Related to authentication, which is the process of checking it
Non-repudiation NIST (SP 800-53): "Protection against an individual who falsely denies having performed a certain action", for example denying they sent a message or approved a payment
Accountability General meaning: being able to trace actions to the person or process responsible (the basis of logging). Wikipedia lists it among the proposed additions to the triad

Note that the US standards place authenticity and non-repudiation inside integrity, while other frameworks list them separately. Both views are common, so do not be confused when a book treats them as extra letters.

Two well-known extensions:

  • The Parkerian Hexad (Donn B. Parker, 1998) has six elements: confidentiality, possession or control, integrity, authenticity, availability and utility. Its merits are debated among professionals.
  • STRIDE (created at Microsoft in 1999 by Praerit Garg and Loren Kohnfelder) is a threat-modeling checklist (see Security Testing for how threat modeling is done) where each threat violates a security property:
STRIDE threat Property violated
Spoofing Authenticity
Tampering Integrity
Repudiation Non-repudiation
Information disclosure Confidentiality
Denial of service Availability
Elevation of privilege Authorization

Look at the table: three of the six threats map straight onto the triad. The others show what the triad alone does not name.


8. Using the triad on a real system

You can apply this method to anything, from a small website to a company laptop.

  1. List what you must protect (customer database, source code, the website).
  2. For each, ask the three questions. Who must not see it? What would harm us if it were changed? What happens if it is unavailable, and for how long can we cope?
  3. Rate the impact as low, moderate or high for each property (the FIPS 199 idea).
  4. Choose safeguards where the impact is highest, using the tables above.
  5. Test them. Try restoring a backup. Check that permissions really block access. Verify a hash.

A small online shop's customer database might come out like this:

Property Question Likely safeguards
Confidentiality Who can read customer details? Access control with least privilege, MFA for admins, encryption of data and connections
Integrity Could someone change orders or prices unnoticed? Limited write access, audit logs, input checks, backups
Availability How long can the shop be down? Tested backups, patching, monitoring, a recovery plan

Deciding which of these matters most, and how much to spend on each, is the job of risk assessment, covered in Risk and Security Controls.


9. Common mistakes

Myth The facts
"CIA means the intelligence agency" It stands for confidentiality, integrity and availability
"Confidentiality means encryption" Encryption is one safeguard. Access control, least privilege and handling rules matter just as much
"Integrity is only about hackers" Mistakes and faults also break integrity
"Availability is an IT matter, not security" It is one of the three objectives in the standard definition of information security
"All three must always be maxed" The right level depends on the information and the impact of losing it (public web content needs no confidentiality)
"Encrypted data is automatically safe from tampering" Encryption alone does not guarantee integrity; use authenticated encryption and signatures
"The triad covers everything" It does not name authenticity, non-repudiation or accountability

Closing

Confidentiality asks who can see it, integrity asks can I trust it, and availability asks can I use it when I need it. Every attack, every failure and every safeguard in security can be described by one or more of those three questions. That is why the triad comes first.

Keep these points:

  • Confidentiality: authorized access only.
  • Integrity: no unauthorized modification or destruction, and accidents count too.
  • Availability: timely and reliable access, which includes surviving faults, not just attacks.
  • Priorities differ: rate the impact of losing each property for each type of information.
  • The triad is a starting point, and you will add authenticity, non-repudiation and accountability next.

If you can take any incident from the news and say which of the three it broke, and what safeguard would have helped, you understand the triad.

Related: Data Security and Privacy Basics applies the triad to classifying and protecting data, and Security Design Principles covers the design rules that protect all three properties.