Zero Trust Architecture Explained for Engineers

What zero trust really means: never trust the network, verify identity and device for every request, least privilege, microsegmentation.

Published December 6, 2026

"Zero trust" is often used as a marketing slogan, but the underlying idea is precise and useful: no request is trusted because of where it comes from. Being inside the office network or the VPC grants nothing by itself. Every access decision is based on verified identity, device posture and context, and access is limited to exactly what is needed.

The concept

The traditional castle-and-moat model trusted everything inside the perimeter. Once an attacker got in through phishing, a compromised VPN account or a vulnerable server, they could move laterally to anything. Remote work, cloud services and SaaS have also dissolved the perimeter itself.

Zero trust replaces location with identity. Users authenticate strongly (SSO with MFA or passkeys), devices are checked for posture (managed, patched, encrypted), and services authenticate to each other with workload identities and mutual TLS. Policy engines make per-request decisions, access is granted to specific applications rather than whole networks (zero trust network access, identity-aware proxies), and networks are segmented so a compromise stays contained.

Core principles

PrincipleIn practice
Verify explicitlyStrong user auth, device posture, workload identity on every request
Least privilegeJust-in-time, just-enough access; short-lived credentials
Assume breachSegment networks, encrypt internally, monitor and log everything
Per-application accessIdentity-aware proxy instead of broad VPN network access
Continuous evaluationRe-check context; revoke sessions on risk signals

Zero trust access

requestallowedauditUser + deviceSSO + MFA, postureIdentity-aware proxypolicy decisionSpecific appnot the whole networkLogged + monitored
Access is granted per application, per request.

Getting started

  1. Centralise identity with SSO and phishing-resistant MFA
  2. Put internal apps behind an identity-aware proxy
  3. Use workload identity + mTLS between services
  4. Segment networks; remove flat VPN access
  5. Log access decisions and alert on anomalies
Practical first steps.

Practical examples

Service-to-service identity with mTLS (concept)

Each workload proves who it is with a certificate, not its IP.

orders-service → payments-service
  client cert SAN: spiffe://example.com/ns/shop/sa/orders
  policy: allow orders → payments POST /charges only

Identity-aware access to an internal admin app

A reverse proxy enforces SSO before traffic reaches the app.

# oauth2-proxy in front of an internal dashboard
oauth2-proxy --provider=oidc --oidc-issuer-url=https://login.example.com \
  --email-domain=example.com --upstream=http://127.0.0.1:3000 --http-address=0.0.0.0:4180

Short-lived, just-in-time access

Grant production access for one hour with approval.

request-access --role prod-db-readonly --duration 1h --reason "INC-482 investigation"

Common mistakes

  • Buying a "zero trust product" without changing identity and access practices.
  • Keeping a flat network behind the VPN.
  • Long-lived shared service credentials.
  • No logging of access decisions.

Key takeaways

  • Zero trust: no implicit trust based on network location.
  • Verify identity, device and context for every request.
  • Least privilege, segmentation and assume-breach monitoring.
  • Start with SSO + MFA, identity-aware proxies and workload identity.

FAQ

Does zero trust mean no VPN?

Not necessarily, but VPNs should not grant broad network access; per-application access via identity-aware proxies is the zero trust approach.

Is zero trust only for large companies?

No. SSO with MFA, per-app access and least privilege are achievable for small teams with modern tools.

What is SPIFFE?

An open standard for workload identities, implemented by SPIRE and service meshes, used to issue certificates to services.

More Security articles