How to Configure Airgapped Workstation Port Blockers
You use airgapped workstation port blockers to stop unauthorized devices on isolated machines. You set them up by adding physical locks and OS rules to block USB and network ports. An airgapped machine has no link to the outside internet. Yet people still walk into the room with flash drives or cables. A good setup stops both physical plugs and hidden software drivers from moving data. How airgapped workstation port blockers work These controls work at three levels: the case, the boot menu,
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
You use airgapped workstation port blockers to stop unauthorized devices on isolated machines. You set them up by adding physical locks and OS rules to block USB and network ports.
An airgapped machine has no link to the outside internet. Yet people still walk into the room with flash drives or cables. A good setup stops both physical plugs and hidden software drivers from moving data.
How airgapped workstation port blockers work
These controls work at three levels: the case, the boot menu, and the OS. Physical blockers are small plastic or metal locks that sit inside open ports. Only a special key can pull the lock out of the slot. This stops a person from plugging in a thumb drive or network wire.
Next, boot rules turn off unused ports before the main OS even starts. If a port has no power or data path, a physical lock break does nothing. The machine ignores anything plugged into that dead slot.
Finally, OS rules watch the ports that keeps the session active for keyboards and mice. Every plug-in device sends a vendor ID and a class type to the machine. Safe defaults block all mass storage, wireless cards, and network adapters right away. The OS only lets basic input tools send signals to the screen.
These rules apply to every human user and background task on the box. Even a local admin should not be able to turn on a storage port without a reboot. You should lock the boot menu with a strong password kept in a safe place. This stops a user from changing port rules during a machine restart.
How to check and audit your port rules
After you set up your rules, you must test each port by hand. Plug a known safe mouse into a locked port to check that it fails. Then plug a test flash drive into an open keyboard slot. The OS should block the drive and write an alert to the local log.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Because the machine has no network link, central log checks take extra care. A reviewer must read local hardware logs on a set weekly schedule. Look for blocked device IDs, boot menu alerts, and failed login tries. You should also inspect the physical port locks for scratches or damage.
Keep in mind that static port blocks only stop unauthorized plugs and cables. They do not watch what an approved user does inside a live local session. Once an engineer logs in with the right role, port locks step aside. The user can still read secret files, run dangerous commands, or break local databases.
Also, airgapped machines still need software updates and patches from time to time. Someone has to manage a port and bring in a clean drive to move files. During that maintenance window, static port rules cannot check which commands run on the host. You still need strict command checks and clear audit logs for local work. In sensitive tables, data masking rewrites matched fields like card numbers or national IDs in results.
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
Do physical port locks replace OS device rules?
No, you need both layers for a safe setup. A physical lock stops casual plugs, while OS rules block rogue keyboards that act like storage drives.
How do we use a mouse and keyboard if USB ports are blocked?
You keep two ports open and set OS rules to allow only human input classes. If someone swaps the mouse for a flash drive, the OS blocks the storage class.
How should we audit logs on an offline workstation?
Set the OS to write all hardware plug events to an append-only local disk. Have a security team member review those logs on the screen during weekly room checks.
Related guides
In this post