Address Based Authentication
Address based authentication checks a client network location before it grants system entry. Teams set up this control by adding allowed IP ranges to firewall rules. Many engineering groups rely on network lists to protect databases and internal servers. They trust traffic that comes from an office network or a known VPN. Still, broad network permissions let anyone on that subnet reach sensitive data stores. Once a user passes the network check, the system trusts every command they send. How a
Push-Based Authentication: the complete guide
Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.
Address based authentication checks a client network location before it grants system entry. Teams set up this control by adding allowed IP ranges to firewall rules. Many engineering groups rely on network lists to protect databases and internal servers. They trust traffic that comes from an office network or a known VPN. Still, broad network permissions let anyone on that subnet reach sensitive data stores. Once a user passes the network check, the system trusts every command they send.
How address based authentication works in practice
In a standard setup, admins define trusted IP addresses in a system list. When a client tries to log in, the server reads the source address. The server compares that source address against its list of approved network ranges. If the address matches an allowed rule, the login process moves forward. If the address does not match, the server drops the request right away.
Teams often pair address based authentication with a password or an SSH key. Database engines and cloud platforms both support these source IP filter rules. Admins group office ranges, cloud subnets, and partner networks into security groups. When remote workers join from home, they first log in to a VPN. That VPN gives them a static IP address that matches the allowlist. The target server only sees the trusted VPN address and lets them enter.
What network rules solve and what they miss
Source address rules stop random scans from the public web right away. Attackers outside your approved IP range cannot even reach the login prompt. This simple filter cuts down noise in your system logs every day. It also blocks stolen passwords if the attacker uses an unknown network.
Yet this network check only works at the start of a session. It decides who can connect, not what they do after logging in. Every engineer on the same VPN shares the same trusted IP address. Because of this, network logs cannot tie a query to a real person. If a developer runs a bad delete command, the network rule allows it. If an app server gets breached, the attacker inherits that trusted IP address. Network filters also cannot mask sensitive fields like emails or card numbers. When a query runs, the database returns raw phone numbers and national IDs. Dynamic home IP addresses also force admins to update network lists by hand. Outdated IP rules leave old addresses open to whoever gets that IP next.
Push-Based Authentication: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Why teams move from network trust to user identity
Modern cloud setups change IP addresses many times during a single week. Containers spin up and down on shared hosts with shifting network addresses. Relying on static IP lists creates constant ticket work for platform teams. Admins often widen subnet rules just to stop breaking builds and deploys.
A safer approach ties every session to a verified human or service identity. Instead of trusting a whole subnet, you check who runs each command. Identity controls let you review risky queries before they hit production data. You can also apply data masking to rewrite emails and phone numbers in results. This keeps raw card numbers safe while engineers fix bugs or run checks. Teams gain clear audit logs that show who ran what and when.
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
Is IP allowlisting enough to secure a production database?
No, IP allowlisting only checks where traffic comes from at login time. You still need strong user identity checks and query controls during the session.
How does a VPN affect source address checks?
A VPN routes all user traffic through one shared network range. The target server sees the VPN address instead of the individual user device.
Can attackers bypass source IP restrictions?
Yes, attackers can compromise a host that already sits inside your trusted subnet. They can also use IP spoofing on protocols that do not finish handshakes.
Related guides
In this post