Restrict Login By IP

Lets you specify IP addresses or hosts that users are allowed to login from.

Author:Janis Elsts (profile at wordpress.org)
WordPress version required:2.6
WordPress version tested:2.7
Plugin version:1.0
Added to WordPress repository:11-12-2008
Last updated:11-12-2008
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://w-shadow.com/blog/2008/11/07/restrict-...
Total downloads:3 309
Active installs:20+
plugin download
Click to start download

"Restrict By IP" lets you specify IP addresses or hosts that users are allowed to login from. Only users that have the exact IP will be able to access the dashboard. Everyone else will get a "Forbidden" error when trying to log in or access an admin page directly. However, normal visitors won't be affected - everyone will still be able to read your posts browse the site.

When setting the allowed addresses, you can use full IPs (e.g. "12.34.56.7") or a range of IPs (e.g. "12.34"). If necessary, you can also use more advanced settings - define allowed subnet(s) via network/netmask, enter IPv6 addresses, etc. All the configuration is done via a very simple and intuitive* interface.

* Maybe.

On the technical side, the plugin is basically a very simple frontend for setting mod_access/mod_authz_host directives in the .htaccess file.

Requirements : PHP 5 or later, Apache, mod_access or mod_authz_host.