Plugin Directory

Restrict Login By IP

Author: Janis Elsts

"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 modaccess/modauthz_host directives in the .htaccess file.

Requirements : PHP 5 or later, Apache, modaccess or modauthz_host.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2 ratings)