ELI5: What is Defense in Depth?

Think of a castle. It doesn’t just have one wall — it has a moat, then an outer wall, then an inner wall, then guards, then a locked tower. If an attacker gets past one barrier, there’s always another one waiting. Defense in depth means protecting computers the same way: with many layers of security stacked on top of each other. No single lock is perfect, but together they make it really, really hard for anyone to get through.

Overview

Defense in Depth is a security strategy that employs multiple layers of controls across different domains to protect information assets. If one layer fails, subsequent layers continue to provide protection. This approach recognizes that no single security control is sufficient on its own and draws from military doctrine of creating multiple barriers an adversary must overcome.

Key Concepts

  • Security layers (from outer to inner):
    • Physical — fences, locks, guards, surveillance cameras (see physical-security)
    • Perimeter — firewalls, DMZ, IDS/IPS, border routers
    • Network — segmentation, VLANs, NAC, VPN
    • Host — endpoint protection, OS hardening, patch management
    • Application — input validation, WAF, secure coding, code review
    • Data — encryption, DLP, access controls, backups
    • Policies/Procedures — security awareness training, incident response plans, change management
  • Administrative controls — policies, procedures, training, background checks
  • Technical controls — firewalls, encryption, access control systems, IDS
  • Physical controls — locks, fences, mantraps, security guards
  • Preventive, Detective, Corrective — controls categorized by when they act relative to an incident
  • Vendor diversity — using products from multiple vendors so a vulnerability in one does not compromise all layers
  • Control diversity — combining different types of controls (technical + administrative + physical) at each layer

Exam Tips

Remember

Defense in Depth = multiple layers + multiple control types. If a question asks about protecting against a single point of failure in security, the answer is Defense in Depth (or redundancy for availability).

Control Categories

Administrative (people/policy), Technical (technology), Physical (tangible barriers). The exam frequently asks you to categorize a given control into one of these three types.

Connections

Practice Questions

Scenario

See case-defense-in-depth for a practical DevOps scenario applying these concepts.