The usual ways, and where they break
- .htaccess / nginx rules: fine for one admin with a fixed IP. Every change means editing a server file, and the same list applies to everyone.
- Firewall or hosting panel rules: same problem, plus only someone with server access can change them.
- Hard-coded lists in your app: another thing to maintain and redeploy.
None of them let each user have their own allowed IP, and none of them let the user update it.
Per-user IP restriction with Follow Me Security
Follow Me Security restricts login by IP at the application level, per user. After your login form checks the password, your site asks us one question: is this user's IP approved? The answer comes from that user's own list:
- Their Follow Me IP, set from the phone app wherever they are
- Their fixed IPs, such as home or office (you can turn this off)
- Your site-wide allowed IPs
Anything else is refused with a clear message telling them to press Follow Me.
Setup in minutes
- Register your site and download the drop-in folder. Your key is already inside.
- Upload it and add one line after your password check.
- Add the "Link with Follow Me Security" button to account settings with one more line.
Users who haven't linked are never affected, so you can roll it out gradually or require it for admins first.
How Follow Me Security works
- Your site links up. Install the WordPress plugin, add the PHP drop-in, or use our Node.js or Python package. Any other language can call the API. Users click "Link with Follow Me Security" in their account settings.
- Users press Follow Me. From their phone, wherever they are. That network becomes their approved place to sign in.
- Every login is checked. After the password is right, your site asks us if the IP is approved. If not, the login is refused, before your own 2FA even runs.
Always an extra layer: passwords and two-factor sign-in still apply. IPs are stored only as keyed one-way hashes.
Frequently asked questions
Do I need server or firewall access?
No. Everything happens inside your app's login code, so it works on shared hosting too.
Can I restrict only admin accounts by IP?
Yes. Only users who link their account are checked, so you can start with admins and staff.
What about users behind Cloudflare or a proxy?
Set the drop-in to read your proxy's real-client header. Otherwise it uses the real connection address, which visitors can't fake.