Linux 软件免费装

Restrict Login By IP

开发者 whiteshadow
更新时间 2008年12月12日 00:13
捐献地址: 去捐款
PHP版本: 2.6 及以上
WordPress版本: 2.7

标签

security login ip access restrict htaccess deny

下载

1.0

详情介绍:

"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.

安装:

  1. Download and extract the ZIP file.
  2. Upload restrict-login-by-ip to the /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Go to Users -> Allowed Login IPs configure the plugin.
Note : If you accidentally lock yourself out of your site, edit your .htaccess file to remove everything that refers to "RestrictByIP". Also edit or delete the .htaccess file the plugin has created in wp-admin.