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).
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
- 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.
| From | To | Allowed |
|---|---|---|
| Internet | DMZ load balancer | HTTPS 443 |
| DMZ | Application | HTTPS 8443 to app servers only |
| Application | Data | Database port to the database cluster only |
| Management | All zones | SSH or RDP from bastion, logged |
| Data | Internet | Denied |
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
- Classify data first; zone boundaries should follow data sensitivity.
- Keep the number of zones manageable; too many becomes unmaintainable.
- Review firewall rules regularly and remove "any any" exceptions.
- Remember non-network boundaries: identity, tenant, process and hardware boundaries also separate trust.
- 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?
What is microsegmentation?
Why is the management zone especially sensitive?
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.
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.