Linux 软件免费装
Banner图

Simple IP Blocker for Pages

开发者 phm1000
更新时间 2026年1月5日 04:42
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

security access control ip blocking cidr page protection

下载

2.3.4

详情介绍:

Simple IP Blocker for Pages is a lightweight security plugin to restrict access to specific pages based on visitor IP addresses. It features a secure administration interface and supports custom block messages with safe HTML (via wp_kses_post) for secure personalization.

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to 'IP Blocker' to configure protected pages and blocked IP addresses.

屏幕截图:

  • Add IPs to block with CIDR support and self-blocking protection
  • Manage blocked IPs with bulk deletion
  • Advanced options for proxy/CDN compatibility
  • Manage block message

升级注意事项:

2.3.4 Major update: Enhanced security with complete output escaping compliance, improved user interface with blocked IPs preview and navigation, comprehensive notification system. Recommended for all users. 2.3.3 Critical security update: Full audit of data validation and output escaping. All users must upgrade. 2.3.0 Important security update: Replaces insecure input filtering with strict sanitization and validation.

常见问题:

How do I block an IP address?

  1. Go to 'IP Blocker' in your WordPress admin menu
  2. Scroll to the "Add IPs to Block" section
  3. Enter IP addresses (one per line) or CIDR ranges (e.g., 192.168.1.0/24)
  4. Click "Add IPs"
  5. You'll see a success message confirming how many IPs were added

Can I see which IPs are currently blocked?

Yes! The blocked IPs list is displayed on the main settings page (first 10 IPs). Click "Manage All Blocked IPs" to see the complete list and manage them.

How do I remove blocked IP addresses?

  1. Go to 'IP Blocker' → 'Manage IPs'
  2. Check the boxes next to the IPs you want to remove
  3. Click "Delete Selected"
  4. You'll see a confirmation message

What happens if I try to block my own IP?

The plugin has a built-in safeguard that prevents you from blocking your own IP address. You'll receive a warning message showing which IPs were skipped.

What is CIDR notation?

CIDR (e.g., 192.168.1.0/24) allows you to block entire IP ranges. /24 blocks 256 addresses (192.168.1.0 to 192.168.1.255), /16 blocks 65,536 addresses, etc.

Does this work with Cloudflare or other CDNs?

Yes! Enable "Check Proxy/Cloudflare Headers" in the settings to correctly identify visitor IPs behind proxies or CDNs.

Which pages can I protect?

You can select any published WordPress page. The rest of your site remains accessible to everyone.

更新日志:

2.3.4 2.3.3 2.3.2 2.3.0 2.2.1