Building a resilient, defensible enterprise architecture is not achieved by installing a single miraculous security product. Software contains bugs, humans make configuration mistakes, and hardware eventually fails. Professional security architects design systems around established security design principles that ensure that the failure of any single component does not lead to total compromise.
Derived from military strategy, Defense in Depth posits that an organization must deploy multiple independent defensive layers across data, hosts, networks, and perimeters. If an attacker breaches the perimeter firewall, they are immediately confronted by network segmentation, host-based EDR monitoring, encrypted files, and least-privilege IAM controls.
Figure 5.1: Multi-layered Defense in Depth Implementation from Perimeter to Core Data
The Principle of Least Privilege mandates that every user, process, program, and service account must be granted only the absolute minimum set of privileges, permissions, and network access necessary to perform its legitimate job function, and nothing more:
root user or Administrator. They run as dedicated unprivileged system users (e.g. www-data or nobody).SELECT, INSERT, UPDATE rights on application tables—never administrative rights like DROP DATABASE or GRANT ALL.Traditional perimeter security operated under the outdated "Castle-and-Moat" model: everything outside the company network was untrusted, but everything inside the office LAN was implicitly trusted. Zero Trust Architecture (NIST SP 800-207) dismantles this model entirely by assuming the network is always hostile and already compromised:
| Zero Trust Pillar | Traditional Castle-and-Moat | Modern Zero Trust Model |
|---|---|---|
| Network Trust | Trusts anyone connected to the office LAN or VPN. | Zero implicit trust. Microsegmentation isolates every workload; all traffic is encrypted with mTLS. |
| Authentication | One-time login at morning VPN connection. | Continuous contextual re-authentication (device health, IP risk score, geolocation, biometric challenge). |
| Access Scope | Broad network subnet access granted upon login. | Just-In-Time (JIT) and Just-Enough-Administration (JEA) access to explicit applications only. |
Kerckhoffs's Principle states that a cryptographic system must be completely secure even if everything about the system (the algorithm, source code, architecture) is public knowledge—the only thing that must remain secret is the cryptographic key. This principle fundamentally refutes "Security through Obscurity".
Broaden your defensive and offensive security knowledge across our curriculum:
Implementing perimeter, network segmentation, and web application firewalls.
Protecting data in transit and at rest with modern cryptographic primitives.
Hardening cloud runtimes with least privilege and read-only filesystems.
Quick-reference commands and configuration flags for hardening systems.