PER USER Whitelist IP Address, Deny all others
-
I need to set specific user to only be allowed login access from a specific address. Is there a plugin or httacess code to set this?
I found this article
order deny,allow
Deny from all# whitelist Your own IP address
allow from xx.xxx.xx.xx#whitelist some other user’s IP Address
allow from xx.xxx.xx.xxThat articles describes a method to block ip addresses but it isnt exactly what I am looking for. It denies ALL access from ANY IP except the whitelisted ones.
I want to do the oposite, allow ALL IP addresses EXEPT for one user, allow only a single IP address. That articles describes a method to block ip addresses but it isnt exactly what I am looking for. It denies ALL access from ANY IP except the whitelisted ones.
I want to allow ALL IP addresses EXEPT for one user; allow only a single IP address.The blog I need help with is: (visible only to logged in users)
-
Hey there! How you go about this will totally depend on your hosting environment, actually. It’s independent of WordPress itself, but dependent on whether you use Apache, nginx, etc. so I’d recommend contacting your host first. I’m sure there is an allow from option, or they may have another recommendation.
Going forward, these forums are primarily for sites that use our free-tier hosting. We’re a little different from the WordPress software itself:
https://wordpress.com/go/website-building/wordpress-com-vs-wordpress-org/You’ll want to create an account at https://wordpress.org/support/forums/ so you’ll have access to the correct community for your site. Or, you’d be welcome to host here; your plan would get direct support.
I hope this helps!
- The topic ‘PER USER Whitelist IP Address, Deny all others’ is closed to new replies.