Mac Whitelisting
You set up mac whitelisting by adding approved hardware addresses to your network router. The router then checks every device against this list before granting network entry. Many teams use this method to keep unknown laptops off the office network. When permissions are too broad, any approved device can reach every internal server. How mac whitelisting works on your network Every network card has a hardware label called a media access control address. Manufacturers burn this twelve-character
Whitelisting: the complete guide
Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.
You set up mac whitelisting by adding approved hardware addresses to your network router. The router then checks every device against this list before granting network entry. Many teams use this method to keep unknown laptops off the office network. When permissions are too broad, any approved device can reach every internal server.
How mac whitelisting works on your network
Every network card has a hardware label called a media access control address. Manufacturers burn this twelve-character label into the chip at the factory. When a laptop asks to join a network, it sends this hardware label first.
The wireless access point or network switch reads the label right away. It compares the incoming label against an internal table of approved devices. If the label is on the list, the switch lets the device join. If the label is missing, the switch drops the request and blocks the laptop.
Network admins must collect these hardware labels from every employee laptop and phone. They type each label into the central network management console by hand. In larger offices, admins link the switch to a central directory of known hardware. This directory answers yes or no each time a device plugs into a port.
Some teams also pair hardware rules with virtual local area networks. The switch reads the hardware label and puts the device into a specific segment. Guest laptops go to an isolated segment with internet only. Engineering laptops go to the main segment that holds production databases and servers.
What hardware filtering solves and what it misses
Hardware filtering stops casual visitors from plugging personal laptops into open wall ports. It also blocks random phones from joining a shared office wireless network. For basic device sorting, this native switch feature is simple and free to run.
Still, hardware labels are easy for an attacker to copy and fake. These labels travel across the air in plain text without any encryption. Anyone with a free packet tool can read the labels of nearby laptops. The attacker can then change their own laptop settings to use that approved label. Once they do that, the network switch lets them right in.
Whitelisting: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Managing the list also creates a lot of daily toil for the support team. Every new phone, laptop, or dock needs a manual update in the console. Modern phones and laptops even rotate their hardware labels to protect user privacy. Users must turn off this privacy feature on the office network, or they get blocked.
Why network entry is not enough for production control
Even when a hardware check works, it only decides which machine joins the network. It does not check who sits at the keyboard or what they do next. Once an engineer laptop passes the switch check, it holds broad network reach.
Native network controls cannot read database queries or server commands in flight. An approved laptop with stolen keys can still run a drop table query. It can also pull sensitive customer emails, phone numbers, or card numbers from production. The switch sees normal network packets and logs nothing about the actual commands run.
To protect production systems, teams must move past basic hardware checks. You need controls that verify user identity for every single database session or server command. You also need clear audit logs that record every query and mask sensitive fields.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Can someone bypass a hardware address filter?
Yes, hardware labels are broadcast in plain text over wireless networks. An attacker can read an approved label and copy it to their own device.
Why do modern phones get blocked by hardware filters?
Modern operating systems assign a random hardware label for each wireless network. You must turn off private addresses for the office network so the label stays fixed.
Does mac whitelisting encrypt traffic on the network?
No, a hardware filter only decides if a device can join the network. You still need wireless encryption and transport security to protect data in flight.
Related guides
In this post