Unit 1 ยท Security foundations and risk
Defense in depth assumes any one control can fail. Layer identity, network segmentation, application authorization, data protection, monitoring, and recovery. Independence matters: two controls that share one misconfiguration are not two effective layers.
request -> TLS -> identity check -> authorization policy
-> input validation -> parameterized query
-> audit event -> backup and recoveryLeast privilege limits what an identity can do. Secure defaults deny access until explicitly granted. Fail-safe behavior protects the asset when a dependency is unavailable, while preserving usability where possible. Review architecture for blast radius: compromise of one service should not expose every tenant or administrative function.
1. What is a secure default?
2. What reduces blast radius?
A resilient design does not treat the firewall as the security boundary. It combines authenticated service calls, explicit object authorization, isolated data access, encrypted secrets, audit events, anomaly detection, and tested recovery. The decision record should state cost, operational complexity, and residual risk.