by Nurul Islam on WordPress.org
Advanced WordPress security plugin with IP/country blocking and two-factor authentication for comprehensive website protection.

Dashboard Overview - Main dashboard with statistics and quick actions
IP & Country Blocker Lite is a comprehensive WordPress security plugin that provides multiple layers of protection for your website. Block unwanted visitors based on IP addresses or countries, and add an extra layer of security with two-factor authentication (2FA).
Security Features:
* IP Address Blocking: Block or allow specific IP addresses, IP ranges, or subnets
* Country-Based Blocking: Restrict access based on visitors’ countries
* Two-Factor Authentication: Secure admin logins with email-based 2FA or authenticator apps
* Recovery Codes: Backup access codes for account recovery
* Emergency Recovery: Generate secure recovery URLs to disable the plugin if locked out
* Advanced Security Dashboard: Monitor blocked attempts and security events
Key Benefits:
* Protect against spam, bots, and malicious traffic
* Prevent brute force attacks on admin login
* Block entire countries or regions
* Easy-to-use admin interface with real-time monitoring
* Lightweight and fast performance
* No external dependencies for core functionality
Easy Management:
* One-click blocking/unblocking
* Intuitive admin panel with tabbed interface
* Real-time activity logs
* Bulk operations support
* Custom blocked page templates
Monitoring & Analytics:
* Track blocked IP attempts
* View country-wise access statistics
* Monitor security events
* Export blocking rules
Privacy & Compliance:
* Uses free IP-API.com service for geolocation
* No personal data storage
* GDPR compliant
* Respects user privacy
For transparency, here’s what data the plugin collects and why:
IP Addresses: Collected for security blocking and geolocation features
Country Information: Derived from IP addresses via geolocation
Plugin Usage Statistics: Anonymous plugin performance data
User Feedback: Plugin reviews and feedback submissions
IP-API.com: Free geolocation service for country detection
Remote Analytics Server (optional, consent required):
IP & Country Blocking:
* Block specific IP addresses or ranges (CIDR notation supported)
* Block entire countries or allow only specific countries
* Whitelist important IPs for access
* Real-time blocking with immediate effect
Two-Factor Authentication (2FA):
* Email-based 2FA for easy setup
* Authenticator app support (Google Authenticator, Authy, etc.)
* Recovery codes for account access
* Secure code generation and validation
* Admin email verification
Emergency Recovery System:
* Generate secure recovery URLs to disable plugin if locked out
* Time-limited recovery hashes (24 hours expiration)
* One-click plugin deactivation via recovery URL
* Secure hash verification to prevent unauthorized access
Admin Interface:
* Modern, responsive dashboard
* Tabbed navigation for easy access
* Real-time statistics and charts
* Activity logs with filtering
* Bulk operations for efficiency
Security Monitoring:
* Track blocked access attempts
* Country-wise visitor statistics
* Failed login monitoring
* Security event logging
Performance Optimized:
* Lightweight codebase
* Minimal database queries
* Fast IP lookups
* Caching support
This plugin uses the IP-API.com service to detect the user’s location based on their IP address.
– Service: IP-API.com (http://ip-api.com)
– Purpose: IP geolocation for country-based blocking
– Data Sent: User’s IP address only
– Privacy Policy: http://ip-api.com/docs/legal
– Data Storage: No personal data is stored by this plugin
The plugin works without this service but country blocking features will be limited.
For support, bug reports, or feature requests:
– WordPress.org Support Forum: https://wordpress.org/support/plugin/ip-blocker-lite/
– GitHub Issues: Report bugs and request features
– Email: Contact through WordPress.org profile
Contributions are welcome! Please feel free to submit pull requests or open issues on GitHub.
This plugin is licensed under the GPLv2 or later.
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Take control of your website’s security and protect it from unwanted visitors with IP & Country Blocker Lite!