Free tech learning for everyone, from basics to pro

Secure ArchitectureSystems ArchitectureIntermediate

Security zones and trust boundaries in system design

In short: A security zone is a group of systems with similar trust and protection needs. The edge between zones is a trust boundary, where traffic must be authenticated, authorised, filtered and logged. Zoning limits how far an attacker can move after compromising one system.

Zones and boundaries

A security zone collects systems that share a trust level, data sensitivity and set of rules. A trust boundary is any point where data or control passes between zones of different trust. Boundaries are where you place controls, and they are also where threat modelling looks hardest (see threat modelling with STRIDE).

Typical security zonesUntrustedinternet, partnersDMZpublic-facing servicesApplicationbusiness logicDatadatabases, file storesManagementadmin access, tooling
Figure 1. Each zone holds systems of similar trust; traffic between zones crosses a controlled boundary.

A classic three-tier web application uses the zones above: the internet is untrusted, web servers or reverse proxies sit in a DMZ (demilitarised zone), application servers sit behind them, and databases sit deepest. A separate management zone holds jump hosts, monitoring and backup systems, because compromise there gives control over everything.

Controlling traffic between zones

Crossing a trust boundaryRequestfrom lowertrustAuthenticatewho is it?Authoriseis it allowed?Validateis input safe?Logrecorddecision
Figure 2. Every crossing into a more trusted zone should be checked, filtered and recorded.
  • Default deny: allow only the specific flows the design needs, documented in a flow matrix.
  • Adjacent tiers only: the DMZ may talk to the application tier, but not straight to the database.
  • Direction matters: allow connections to start from the more trusted side where possible.
  • Inspect at the boundary: firewalls, WAFs, API gateways and proxies enforce and log decisions (see firewall types).
  • Admin paths: administration only from the management zone, through a bastion with MFA.
FromToAllowed
InternetDMZ load balancerHTTPS 443
DMZApplicationHTTPS 8443 to app servers only
ApplicationDataDatabase port to the database cluster only
ManagementAll zonesSSH or RDP from bastion, logged
DataInternetDenied

Zones in the cloud and in microservices

The same idea applies in cloud networks using separate VPCs or VNets, subnets, security groups and network security groups. Many organisations put production, development and shared services in separate accounts or subscriptions, which is a strong boundary for identity as well as network. See cloud networking.

Inside a microservice platform, zones shrink to individual workloads. Microsegmentation applies policy to each workload, for example with Kubernetes network policies or a service mesh that only lets the checkout service call payments. This controls east-west traffic, which perimeter firewalls never see (see zero trust segmentation).

Design tips and mistakes

  1. Classify data first; zone boundaries should follow data sensitivity.
  2. Keep the number of zones manageable; too many becomes unmaintainable.
  3. Review firewall rules regularly and remove "any any" exceptions.
  4. Remember non-network boundaries: identity, tenant, process and hardware boundaries also separate trust.
  5. Log all boundary decisions centrally so you can spot lateral movement.

Tip: a flat network where every server can reach every other is the attacker's favourite. Even a few well-placed zones dramatically limit how far ransomware can spread.

Practice

Why should web servers in the DMZ not connect directly to the database?
If a web server is compromised, the attacker would reach the most sensitive data in one step. Forcing traffic through the application tier adds a boundary and checks.
What is microsegmentation?
Applying security policy at the level of individual workloads, so even services in the same network can only talk to those they need.
Why is the management zone especially sensitive?
It holds tools and access that can control every other zone, so compromising it gives an attacker wide control.

Key takeaways

  • Zones group systems of similar trust; boundaries sit between them.
  • Default deny and allow only documented flows between adjacent tiers.
  • Protect the management zone and admin paths strongly.
  • In cloud and microservices, use accounts, VPCs and microsegmentation.
  • Log boundary decisions to detect lateral movement.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.