Computer security fundamentals (CIA triad)
Protecting confidentiality, integrity and availability of information.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Controls include authentication (passwords, MFA), authorisation (least privilege), encryption, logging and patching. Common vulnerabilities: SQL injection, cross-site scripting, buffer overflows and weak credentials (OWASP Top 10). Defence in depth layers many controls. Hashing with salts (bcrypt, Argon2) protects stored passwords.
Example
Code
# Safe: parameterised query
cur.execute("SELECT * FROM users WHERE email = %s", (email,))
# Unsafe: string concatenation invites SQL injection
# cur.execute("SELECT * FROM users WHERE email = '" + email + "'")
How it works, step by step
- Identify assets and threats
- Assess vulnerabilities and risk
- Apply controls
- Monitor, detect and respond
- Review and improve
Open the interactive page with diagrams →
People behind it
- Jerome Saltzer
- Bruce Schneier
References
- J. H. Saltzer, M. D. Schroeder, Proc. IEEE 1975, 63, 1278–1308.
- OWASP Foundation, OWASP Top 10 (current edition).
Textbooks
- Introduction to Modern Cryptography, Jonathan Katz, Yehuda Lindell (CRC Press, 3rd ed. 2020). Rigorous cryptography.
Related topics
Hash functions and digital signaturesPublic-key cryptography (Diffie–Hellman, RSA)Distributed systems: CAP theorem and consensusWeb development: front end and back endCloud computingSearch engines and PageRankVirtualisation and containersComputer vision and convolutional neural networksFile systems and storageNatural language processing