Design a Zero-Trust Network

Hard45 min
1 / 30
System design answer

Design a Zero-Trust Network

Hard45 min30 sections
understanding•11 min read

Problem Statement: The Perimeter Is Dead

Frames zero trust as an architecture where every request is individually authenticated, authorized, and encrypted, regardless of network location.

Problem statement

Design a zero-trust network for a global enterprise in which no request is trusted because of where it originates. Every service-to-service call and every human access request must be authenticated with strong identity, authorized against fine-grained policy, encrypted, continuously verified, and logged. The platform must issue and rotate short-lived credentials for tens of thousands of workloads and hundreds of thousands of devices, evaluate policy on every request with low added latency, check the posture of user endpoints, and keep enforcing even when centralized components fail.

NIST SP 800-207, published in August 2020, defines the model precisely: access to resources is granted per request, based on a dynamic trust evaluation that combines identity, device state, and request context — never on network location alone. The standard names the components this design must build: the Policy Decision Point (PDP) — split into a Policy Engine and a Policy Administrator — and the Policy Enforcement Point (PEP) that sits on the data path and allows, denies, or revokes access. Trust evaluation is continuous; credentials are ephemeral; the network itself confers no privilege.

Why the perimeter model fails

The classic castle-and-moat design assumes that anything inside the corporate network is trustworthy. Three forces broke that assumption. First, the workforce left the building: employees, contractors, and partners now connect from home networks, hotels, and personal devices, so "inside" stopped meaning anything. Second, workloads left the data center: services run across multiple clouds and Kubernetes clusters where IP addresses are ephemeral and network segments are software-defined. Third, attackers learned that once they obtain one valid credential or one foothold, a flat internal network lets them move laterally. IBM's Cost of a Data Breach Report 2024 puts the global average breach cost at $4.88 million, and the Verizon 2024 Data Breach Investigations Report attributes 68% of breaches to a non-malicious human element — stolen credentials, phishing, and error — exactly the failure modes a network perimeter cannot see.

Zero trust answers with three tenets: never trust, always verify — every request carries proof; least privilege — access is scoped to one action on one resource for one session; and assume breach — the system is designed to contain, detect, and revoke, not merely to prevent.

The four architectural planes

  1. Identity plane: workload identities (cryptographic, short-lived certificates), human identities (OIDC sessions, MFA), and device identities (attested hardware roots).
  2. Posture plane: continuous collection and evaluation of endpoint and workload health — patch level, disk encryption, process integrity, attestation status.
  3. Policy plane: the PDP — versioned, compiled policy evaluated per request, with strong consistency for policy truth and distributed caches for enforcement speed.
  4. Enforcement plane: the PEPs — service-mesh sidecars, identity-aware proxies, and gateways that terminate mTLS, call the PDP, and allow or deny the actual bytes.

A strong answer keeps these planes separate. The enforcement plane must keep working when the policy plane degrades. The posture plane may lag without breaking authentication. A bad policy push must be containable to a canary cohort. The rest of this answer designs each plane, the contracts between them, and the failure behavior of every one.

Key Highlights

  • •NIST SP 800-207 defines the vocabulary: PDP (Policy Engine + Policy Administrator) and PEP; this design maps every component onto that model.
  • •Trust is never inherited from network location; every request carries identity, and every decision is explicit, logged, and revocable.
  • •The perimeter model fails because credentials — not network access — are now the dominant breach vector, per IBM and Verizon breach reports.
  • •Four planes: identity, posture, policy, enforcement; degradation of one must not silently weaken the others.
  • •IBM Cost of a Data Breach Report 2024 reports a $4.88M global average breach cost; Verizon DBIR 2024 reports 68% of breaches involve a human element.
Open With the NIST Model
Name NIST SP 800-207 in the first two minutes and map your design to PDP, Policy Engine, Policy Administrator, and PEP. It instantly signals you know the standard rather than a vendor pitch.
Do Not Draw a Perimeter With Extra Steps
If your diagram still has one choke point that implicitly trusts everything behind it, you have drawn a better gateway, not zero trust. Every service-to-service hop needs its own enforcement.

Section Rescue Kit

Buzzwords to use:

Policy Decision Point (PDP)Assume Breach

Safe statements:

  • "I will separate what decides from what enforces, because their failure modes and latency budgets are completely different."
  • "Before choosing products, let me define what a request must prove to be allowed."
Design a Zero-Trust Network - System Design | WinJob | WinJob