What Are the Three Security Domains

Published
Length
3 min read

Luis Felipe Dias

All posts

When teams ask what are the three security domains, they mean physical, network, and host layers. Some modern guides also group them into governance, risk, and technical controls. Both models help you split a big system into small, safe zones. Each zone has its own rules, keys, and checks. If one zone fails, the next zone stops the threat. How what are the three security domains work in practice In daily work, engineers deal with user devices, networks, and servers or databases. Each area ac

Are: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

When teams ask what are the three security domains, they mean physical, network, and host layers. Some modern guides also group them into governance, risk, and technical controls.

Both models help you split a big system into small, safe zones. Each zone has its own rules, keys, and checks. If one zone fails, the next zone stops the threat.

How what are the three security domains work in practice

In daily work, engineers deal with user devices, networks, and servers or databases. Each area acts as a distinct zone with a clear boundary.

First, the user zone covers laptops, local apps, and AI agents. Here, you check who the user is before they log in. You also check that their device is safe and up to date.

Second, the network zone moves data between the user and your private servers. Teams use firewalls, private links, and strict routing rules to lock down this path. Only approved traffic can cross from the public net into your private zone.

Third, the data and host zone holds your servers, cloud apps, and databases. This is where your most valuable records live. Engineers and AI tools run queries and fix bugs inside this final zone.

When a user or bot wants to read data, it crosses all three zones. Each boundary checks the request before letting it move forward. This step-by-step check is the core idea behind defense in depth.

Where static keys and broad roles fall short

Splitting your stack into three zones is a great first step. Yet static keys and broad database roles still leave big gaps during live work.

Once a user passes the network check, they log in to the host. Most teams use role-based rules to control what that user can do. A role might let an engineer read a whole table to fix one bug.

Are: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

That broad role stays active for the whole session. If an engineer or AI agent runs a bad query, the database runs it anyway. Network walls cannot stop a bad command sent over an open, trusted link.

Static keys make this risk much worse for your team. If a key leaks on a laptop, an attacker can skip the user checks. They can log right into the data zone and read private tables.

Also, basic host logs often miss the full story of a session. You might see that a shared role logged in at noon. You will not see which person ran which exact command unless you log every query.

How to tighten checks at the data boundary

To fix these gaps, teams move their checks closer to the actual command. Instead of trusting a whole session, you check each action as it happens.

First, get rid of shared passwords and static keys on user laptops. Tie every database login to a real person from your main identity tool. When that person leaves the team, their right to log in ends right away.

Second, ask for quick peer approval before someone runs a risky write query. Reading safe data can happen fast, while dropping a table needs a second look. This stops both human typos and runaway AI scripts from breaking live apps.

Third, apply data masking to hide private fields in query results. Masking rewrites matched fields like emails, phone numbers, card numbers, and national IDs in results. Engineers can still fix bugs using real table shapes without exposing raw private records.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

What are the three security domains in classic frameworks?

Classic models often group security into physical, network, and system or app domains. Some compliance guides also split work into governance, technical, and operational domains.

Why do network walls fail to stop database leaks?

Network walls only check where traffic comes from and where it goes. Once a user logs in, the network allows all queries over that trusted link.

How should teams secure AI agents across these zones?

Give every AI agent a narrow role with read-only rights by default. Use data masking to rewrite emails and card numbers in query results before the agent reads them.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.