✳ Field lesson F5 / 8 min

Least privilege, defense in depth, and Zero Trust boundaries

Least privilege restricts every human and workload to the minimum permissions and time window required for its task, while defense in depth places independent control layers across network, identity, and data boundaries so no single failure grants full access.

foundationsleast-privilegezero-trustarchitectureCISSP D3CISSP D5Security+ (SY0-701) D1

Helpful first: Assets and the CIA triad: what we protect and how it fails · Identity, authentication, authorization, and recovery

Key points

  • Scope access grants across four dimensions: principal, target resource, permitted action, and time window (Just-In-Time)
  • An identity-plus-network design has at least two trust boundaries.
  • Explain why Zero Trust Architecture (NIST SP 800-207) replaces implicit network-location trust with per-request policy enforcement

Scoping access: resource, action, and time window

When avionics contractor Dax Mercer needs to upload calibration logs for thruster module bay-03 during Friday’s four-hour maintenance window at Meridian Space & Robotics (chronos.orbital), a lazy access model grants Dax permanent ReadWriteAdmin across the entire chronos-prod storage account. Six months later, if Dax’s laptop is compromised, the attacker inherits standing write access to every satellite’s flight tables.

Under the principle of Least Privilege, Staff Infrastructure Engineer Kael Cho scopes the grant across four explicit dimensions: Subject (dax.mercer@chronos.orbital), Resource (s3://chronos-telemetry/bay-03/calibration/*), Action (PutObject only, no DeleteObject or ListAllMyBuckets), and Time (a Just-In-Time grant that automatically expires at 20:00 UTC Friday). The role denies export.

A grant names the Subject (dax.mercer@chronos.orbital), the Resource (s3://chronos-telemetry/bay-03/calibration/*), the Action (PutObject only, no DeleteObject or ListAllMyBuckets), and a Just-In-Time grant that ends at 20:00 UTC Friday. ReadWriteAdmin is wider than the task.
Comparing perimeter-only "castle-and-moat" trust with layered Zero Trust Architecture (NIST SP 800-207)
Design DimensionLegacy Perimeter ("Flat Internal Room")Layered Zero Trust (Identity + Network + Data)
Network AssumptionAny host inside the corporate VPN or VLAN is implicitly trusted to reach all internal databasesThe network is always assumed hostile; microsegmentation restricts east-west flows to explicit service pairs
Identity & Context GateChecked once at VPN connect time; session lasts all day without re-evaluationPolicy Enforcement Point (PEP) verifies identity, device posture, and token scope on every API request
Privilege LifetimeStanding domain-wide administrator roles assigned permanentlyJust-In-Time (JIT) elevation scoped to a specific ticket and target resource, expiring automatically
Blast Radius of One Stolen TokenAttacker pivots laterally across the entire data centerContained to a single compartment and blocked at the Records Store boundary

Defense in depth: why independent layers matter

Defense in depth means placing multiple independent controls in the path of an attack so that if one mechanism fails (due to a code bug, misconfiguration, or stolen credential), the next layer still stops the adversary. Independence is the key word: checking the same password twice on two screens is repetition, not layering.

True layering combines different control classes across boundaries: a network firewall restricts which workload subnets can open a TCP socket, an identity-aware proxy verifies an mTLS workload certificate and a short-lived OIDC token, the application checks fine-grained object ownership, and the database encrypts columns with a key stored in a separate Hardware Security Module (HSM).

Defense in depth places multiple independent controls in the path of an attack. When the network firewall fails, a different control still stops the attack. The identity-aware proxy verifies an mTLS workload certificate and a short-lived OIDC token. Fine-grained object ownership and the Hardware Security Module (HSM) stop a different failure.

Two trust boundaries: Gateway, Internal Room, and Records Store

Examine how the interactive architecture model divides the system into distinct zones: the perimeter Gateway, the Internal Room where application workloads run, and the high-sensitivity Records Store holding mission telemetry. In a naive flat design, passing the Gateway puts a caller inside one giant Internal Room where the Records Store sits wide open.

In Meridian’s layered design, crossing the Gateway into the Internal Room is only the first boundary. A second, independent trust boundary guards the Records Store itself: even a process running inside the Internal Room must present a scoped service identity and pass a dedicated policy gate before reading or writing records. That way, an SSRF bug or compromised web worker in the Internal Room cannot dump the Records Store.

  • VPN membership is not authorization to data.
  • Workload identity (mTLS or SPIFFE) and resource-scoped authorization must still be verified at the Records Store gate.
The Gateway opens the Internal Room. The Records Store still requires a scoped service identity. VPN membership is not authorization to data, and an SSRF bug in the Internal Room cannot dump the Records Store.

Zero Trust is an architecture, not a SKU

As NIST SP 800-207 makes clear, Zero Trust Architecture (ZTA) is not a single box you buy from a vendor. It is the architectural commitment that network location alone (such as "the packet came from our office subnet") never grants trust. Every request is evaluated dynamically by a Policy Decision Point (PDP) and enforced by a Policy Enforcement Point (PEP) using identity, device health, and least-privilege resource policy.

Zero Trust is an architecture, not a SKU

A subject request reaches the Policy Enforcement Point (PEP), then the Policy Decision Point (PDP). The PDP uses identity, device health, and least-privilege resource policy. The PEP allows or blocks, then the resource. Network location alone never grants trust. Source: NIST SP 800-207.

CHECK YOUR JUDGMENT

A web worker container inside Meridian’s Internal Room subnet suffers a Remote Code Execution (RCE) bug. The attacker immediately tries to connect directly to the production Records Store database on port 5432 and dump all customer satellite keys. Which layered design stops this pivot?

NEXT FIELD LESSON

Application trust boundaries: why the client UI is never a security gate

↗

Find your next idea.

Tip: press / to open search. Escape closes this window.