Study guide · Security Concepts
Security Concepts: Security Goals, Login and Privacy
This page explains the basic ideas that all of information security is built on. You will meet the three classic security goals, plus authenticity, non-repudiation and privacy. You will see how a login works step by step and why two passwords are still not multi-factor authentication. Our running example is a small online shop with a warehouse, accounting and customer data.
The three security goals
Almost every security measure serves one of three goals. Together they are called the CIA triad, after Confidentiality, Integrity and Availability. The abbreviation has nothing to do with the American intelligence agency.
Confidentiality means that only authorized people, processes or systems can see information. If an unauthorized person reads the shop's customer list, confidentiality is broken. The list itself stays unchanged and reachable. Typical safeguards are encryption, access rights and privacy screens for monitors. Encryption keeps data secret even when a laptop is lost or someone intercepts data in transit.
People can also threaten confidentiality. Someone on a train who watches a colleague's screen over her shoulder is shoulder surfing. Privacy filters and awareness in public places help against it. Do not confuse this with tailgating. That is when someone follows an authorized person through a secured door without being noticed.
Integrity means that information is complete, correct and unchanged, and that changes happen only in permitted ways. It also means that unauthorized changes are detected. Integrity applies not only to data but also to systems, for example an unchanged configuration. It is not only broken by attacks. A typing mistake or a faulty import also makes data wrong.
Availability means that systems and data are usable by authorized users when needed. A denial of service attack takes the shop offline for hours. Data is usually neither read nor changed, so only availability is affected. Redundancy protects it. Examples are a second data center that takes over during an outage, load balancing across several servers, and an uninterruptible power supply. A second internet connection and backups whose restore is tested regularly help as well.
Checking and protecting integrity
The simplest way to check the integrity of a downloaded file is a hash value. A cryptographic hash changes completely with even the smallest change to the file. If the value you calculate matches the value the vendor published, the file is almost certainly unchanged. File name and file size tell you nothing about this. Encrypting the file after the download does not prove that it was untouched before.
Integrity is protected in two ways. Some measures prevent changes, such as write access only for authorized roles. Others make changes visible, such as hash values compared after a transfer, and digital signatures on documents. Encryption alone is not enough. Someone can still damage or replace encrypted data.
Public information needs protection too. The shop publishes its price list on purpose. Confidentiality no longer matters for it. Integrity does: anyone who secretly changes the prices causes wrong offers and damage to the shop's reputation. So does availability: a price list nobody can open costs sales.
Trade-offs and attacks on several goals
Security goals often pull against each other. If a company encrypts every laptop and asks for a long passphrase at each start, confidentiality goes up. But if someone forgets the passphrase, they can no longer reach their data. Availability goes down. That is why every encryption scheme needs a recovery process, for example a securely stored recovery key.
A hospital faces a similar trade-off. Patient records are highly confidential. In the emergency room, though, delayed access can cost lives. Many hospitals solve this with emergency access, often called break glass. It grants access at once, but every use is fully logged and reviewed afterwards. Availability is kept without giving up control.
Modern attacks often hit several goals at once. Typical ransomware first downloads customer data and then encrypts the file servers. The encryption changes data without permission, which breaks integrity. The files become unusable, which breaks availability. The data theft breaks confidentiality, and even the best backup cannot undo that. Non-repudiation, however, is not affected. It is about tying your own actions to you, not about who the attackers are.