Block Account Create Login by Country GRC
·
Blocks unauthorized role logins from restricted countries using local MaxMind databases with automatic daily mirror updates and a manual download butt …
Block Account Create Login by Country GRC is a robust WordPress security plugin designed to prevent unauthorized logins for specified user roles from restricted geographic regions. It utilizes local MaxMind GeoLite2 database lookups with a standalone, zero-dependency binary .mmdb parser for fast offline processing, backed by automatic daily mirror updates and remote API fallbacks.
Key Features
- Role-Based Country Restriction: Target specific high-privilege or custom user roles (e.g., Administrators, Editors, Authors, Shop Managers) and block them from logging in if their IP address maps to a restricted country.
- Local MaxMind GeoLite2 Database: Includes a built-in, zero-dependency binary .mmdb reader parser for high-performance offline local IP geolocation lookups.
- Automatic Daily Updates: Schedules a background cron event daily to download and refresh the GeoLite2 database mirror.
- Manual Database Utility: Admin dashboard options to check database file status, last-checked timestamps, and trigger manual updates on-demand.
- Resilient API Fallbacks: Seamless fallback integration with remote geolocation services (ip-api.com and ipinfo.io) if local files are missing or unreadable.
- Built-in Lockout Protection: Automatically registers and permanently allows the installer’s country code upon activation to prevent accidental administrative lockouts.