Air-gapped Environments

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up air gapped environments by cutting off all links to public networks. Teams run every server, database, and app inside a closed local network. Most teams copy software packages onto physical drives and walk them into the room. Once inside, engineers log in using local keys and broad admin roles. When those roles are too wide, one bad command can wipe out critical data. How air gapped environments work in practice In a standard setup, the local network has no route to the internet. F

AI Sandbox Environments: the complete guide

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

Free white paper. No spam. Unsubscribe anytime.

You set up air gapped environments by cutting off all links to public networks. Teams run every server, database, and app inside a closed local network. Most teams copy software packages onto physical drives and walk them into the room. Once inside, engineers log in using local keys and broad admin roles. When those roles are too wide, one bad command can wipe out critical data.

How air gapped environments work in practice

In a standard setup, the local network has no route to the internet. Firewalls block all outbound and inbound traffic at the physical switch level. Engineers cannot pull code or updates from public cloud servers. Instead, the team sets up an internal mirror for all software packages. A trusted operator scans files on an outside machine before moving them inside.

Identity and roles also live inside the closed room. The team runs a local directory server to check who can log in. Database admins create static roles and hand out passwords to engineers. Because external identity providers cannot reach the room, teams rely on these local keys. Admins often group permissions into a few large roles to save time. An engineer logs into a local workstation and opens a direct database session. The database checks the local role and lets the engineer run commands.

What physical isolation solves and what it misses

Physical separation stops remote attackers from reaching your servers over the internet. It also stops local apps from sending private data out to public servers. For strict industries, this boundary is a core rule for keeping systems safe. It gives teams full control over every cable and server in the room.

Still, a closed network only decides who can enter the room and log in. It does not check what individual queries or commands do in flight. Once an engineer logs in with a local role, the database trusts every statement. A developer fixing a bug can run a broad query that returns raw card numbers. An admin can drop a production table by mistake during a late shift. Without runtime checks, emails and national IDs show up in plain text on screens. Local logs might record the login event, but miss the exact commands run. Teams still need a way to approve risky actions and mask data in results.

AI Sandbox Environments: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Managing local updates and audit logs

Keeping an isolated system up to date takes a lot of careful daily work. Teams must test every patch in a staging room before moving it to production. If a patch breaks an app, engineers cannot search online forums from their desks. They have to read local docs and fix the issue using built-in tools. Because fixing access issues is slow, admins leave broad permissions open for months. Shared admin keys often get passed around to keep night shifts moving.

Audit logs also stay trapped on local disks unless teams collect them in one place. If each server writes its own log file, finding a bad query takes days. Security teams must pull logs into a central local store and check them daily. Clear command logs and strict role rules keep the closed network safe from mistakes.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits inline in the protocol beside the service as an open-source proxy, a sidecar for your database or API. On every production query an agent or human runs, hoop.dev decides whether to pass, mask, block, or escalate it for review.

Before a query runs, hoop.dev guardrails check the statement against your rules, an AI Analyzer you configure can score intent or hold risky calls for human approval, and hoop.dev data masking rewrites sensitive fields in responses in memory. Explore the MIT-licensed project on GitHub.

Frequently asked questions

What is the main goal of an air gapped network?

The main goal is to block all network traffic to and from the public internet. This protects sensitive servers and data from remote attackers and outside leaks.

How do teams move software updates into a closed network?

Operators download and scan files on a separate machine first. Then they copy the clean files onto physical media and load them into a local repo.

Why do insider risks still matter in offline systems?

Local users still need roles and keys to run queries and fix apps. If roles are too broad, a user can still read private phone numbers or delete data.

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.