Linux 软件免费装

Force Login Except Special IP Range

开发者 ff
更新时间 2009年12月31日 04:12
PHP版本: 2.9 及以上
WordPress版本: 2.9

标签

password intranet force user login ip range

下载

详情介绍:

Forces all anonymous users to login except the user connects from special IPv4 ranges or a specific IPv4 address. This plugin was written to use wordpress in an intranet/internet environment. Users who are connecting from the intranet should see the blog without beeing forced to login. But users connection form the internet must log in to see the blog. Attention: Works only with IPv4! No IPv6 support!

安装:

  1. Upload force_login_except_ip_range.php and allowed_ip_ranges.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Edit allowed_ip_ranges.php to add ip ranges to allow access without forcing the user to login.

常见问题:

How do I add an ip range to the allowed ranges?

Edit allowed_ip_ranges.php and add a new line: $allowed_ip_ranges[]="STARTIP, STOP_IP"; exmple: $allowed_ip_ranges[]="192.168.100.0, 192.168.100.255";

How do I add only one sepecific IP address?

Edit allowed_ip_ranges.php and add a new line: $allowed_ip_ranges[]="IP_ADDRESS"; exmple: $allowed_ip_ranges[]="192.168.100.44";

更新日志:

0.2 Now it is written object oriented 0.1 initial version