What security architecture is and how it works
Security architecture is the engineering of secure systems as described in NIST SP 800-160 Vol. 1 Rev. 1: protective measures are designed for the whole system — people, processes and technology — at design time, rather than assembled from separately bought tools.
Three properties it preserves
Protection answers the question of which properties of a system must be preserved. There are three, and FIPS 199 builds system categorisation on them: the potential harm from breaching each property is rated as low, moderate or high — the higher the level, the stricter the required measures.
| Property | What it means | How it is breached | Example measure |
|---|---|---|---|
| Confidentiality | only authorised people can access the data | a customer database leak | encryption, role-based access |
| Integrity | only authorised people can change data and settings | payment details swapped | digital signature, change log |
| Availability | the system and data are available when needed | a DDoS attack on a website | spare capacity, traffic filtering |
The principles everything rests on
Defense in depth ([[defense in depth]]), according to the NIST glossary, is a strategy that combines the capabilities of people, technology and operations and builds different barriers across several levels of the organisation. Access to a shop’s admin panel is protected by a password, a second factor and an allowlist of addresses: if an attacker breaks through one barrier, the next one is waiting.
The principle of least privilege: every user and service gets only the rights its work needs, and no more. An accountant handles payments but cannot see the customer database; a backup service writes to its own storage but cannot run commands on servers.
Secure by design and secure by default means that security is built in at the design stage rather than added after release. Under the CISA Secure by Design programme, a product ships with multi-factor authentication, logging and single sign-on included at no extra charge, factory default passwords are removed, and the second factor is phishing-resistant.
The “assume breach” principle complements them: the system is designed as if some barriers have already been breached. This leads to limiting movement inside the network, encrypting data and being ready to notice an intruder’s actions; Zero Trust develops this approach — see the “Zero Trust” section for details.
Layers of protection from user to data
Protection is split into layers. Each layer is a separate barrier with its own measures: breaching one layer does not give the attacker access to the data, because the next one stands in the way. Logs and detection run through all the layers, and above the stack sit management and policies that define what should work and how.
| Layer | What it protects | Typical measures | Section |
|---|---|---|---|
| User and device | people and their laptops and phones | training, updates, disk encryption | “Security management” |
| Account and access | who can manage what | MFA, least privilege, SSO | “Accounts and access” |
| Network | traffic between zones | segmentation, firewalls, VPN | “Network protection” |
| Application | application and API code | secure development, code review | “Secure development” |
| Data | the data itself | encryption, backups | “Data protection” |
| Logs and detection | events in all layers | centralised logs, alerts | “Detection and response” |
Example: the accountant’s stolen password
An online shop with 50 employees: the accountant opened a phishing email and entered their password on a fake page. No single layer stops such an attack entirely, but together the barriers reduce the damage to an alert.
| Barrier | What would work |
|---|---|
| MFA at sign-in | the stolen password does not grant access: a second factor is needed |
| Least privilege | the accountant’s account has no rights to the customer database or the code |
| Network segmentation | the database is not visible from the accountant’s laptop |
| Data encryption | a stolen copy of the database is useless without the keys |
| SIEM alerts | a sign-in from another country shows up in the logs and the response starts at once |
How it differs from other approaches
| Approach | Subject | Scope | Result |
|---|---|---|---|
| Security architecture | protection of the whole system: people, processes, technology | the whole organisation | a system resistant to attacks |
| OWASP Top 10 | common classes of web application vulnerabilities | web applications | a list of priorities for code review |
| Vulnerability management | known vulnerabilities in components | servers, dependencies | vulnerabilities fixed by priority |
| Linux server hardening | the settings of a single host: SSH, sudo, firewall | a single server | the server meets a baseline |
| Compliance | meeting formal requirements | organisation | a status confirmed by an auditor |
What you need to know first
- Ports, addresses and how DNS works — the “TCP/IP and DNS” reference.
- How data in transit is encrypted and how certificates work — the “TLS and PKI” reference.
- How an application gets access on behalf of a user — the “OAuth and OIDC” reference.
Section sources
the section is written from these pages- SP 800-160 Vol. 1 Rev. 1, Engineering Trustworthy Secure Systemscsrc.nist.gov/pubs/sp/800/160/v1/r1/final(opens in a new tab)
- FIPS 199, Standards for Security Categorization of Federal Information and Information Systemscsrc.nist.gov/pubs/fips/199/final(opens in a new tab)
- defense-in-depth - Glossarycsrc.nist.gov/glossary/term/defense_in_depth(opens in a new tab)
- least privilege - Glossarycsrc.nist.gov/glossary/term/least_privilege(opens in a new tab)
- Secure by Design | CISAcisa.gov/securebydesign(opens in a new tab)