{"id":278297,"date":"2026-02-05T20:38:59","date_gmt":"2026-02-05T20:38:59","guid":{"rendered":"https:\/\/es.wordpress.org\/plugins\/geosec\/"},"modified":"2026-02-06T17:01:29","modified_gmt":"2026-02-06T17:01:29","slug":"geosec","status":"publish","type":"plugin","link":"https:\/\/kea.wordpress.org\/plugins\/geosec\/","author":12190372,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.9.4","requires":"5.0","requires_php":"7.2","requires_plugins":null,"header_name":"Geosec","header_author":"rbonfil","header_description":"Protects your WordPress admin panel by allowing access only from authorized countries.","assets_banners_color":"bb3576","last_updated":"2026-02-06 17:01:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":176,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"rbonfil","date":"2026-02-05 20:38:46"},"1.0.1":{"tag":"1.0.1","author":"rbonfil","date":"2026-02-06 17:01:29"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3454940,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3454940,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3454940,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3454940,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3454940,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3454940,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"<strong>Configuration Panel:<\/strong> Easily select allowed countries and enable protection.","2":"<strong>Statistics Dashboard:<\/strong> View detailed logs of blocked activity."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1912,1497,2493,1178,600],"plugin_category":[54],"plugin_contributors":[253625],"plugin_business_model":[],"class_list":["post-278297","plugin","type-plugin","status-publish","hentry","plugin_tags-access-control","plugin_tags-block-country","plugin_tags-geoip","plugin_tags-protection","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_contributors-rbonfil","plugin_committers-rbonfil"],"banners":{"banner":"https:\/\/ps.w.org\/geosec\/assets\/banner-772x250.png?rev=3454940","banner_2x":"https:\/\/ps.w.org\/geosec\/assets\/banner-1544x500.png?rev=3454940","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/geosec\/assets\/icon-128x128.png?rev=3454940","icon_2x":"https:\/\/ps.w.org\/geosec\/assets\/icon-256x256.png?rev=3454940","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/geosec\/assets\/screenshot-1.png?rev=3454940","caption":"<strong>Configuration Panel:<\/strong> Easily select allowed countries and enable protection."},{"src":"https:\/\/ps.w.org\/geosec\/assets\/screenshot-2.png?rev=3454940","caption":"<strong>Statistics Dashboard:<\/strong> View detailed logs of blocked activity."}],"raw_content":"<!--section=description-->\n<p><strong>Geosec<\/strong> is a lightweight security plugin designed to protect your WordPress administration panel (<code>wp-admin<\/code>). It works by detecting the visitor's country using their IP address and allowing access <strong>only<\/strong> if they are in your \"Allowed Countries\" whitelist.<\/p>\n\n<p>This significantly hardens your admin panel against brute-force attacks, bot login attempts, and unauthorized access from foreign countries.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><strong>Whitelist-based Protection:<\/strong> Only allow access from specific countries.<\/li>\n<li><strong>Emergency Key:<\/strong> Create a unique URL to bypass the lock if you are traveling.<\/li>\n<li><strong>Cloudflare Compatible:<\/strong> Works seamlessly with Cloudflare and standard server setups.<\/li>\n<li><strong>Detailed Statistics:<\/strong> View logs of blocked attempts and valid logins, including Top Blocked Countries and IPs.<\/li>\n<li><strong>Lightweight:<\/strong> Optimized for performance, querying external APIs only when necessary and caching results.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>geosec<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to <strong>Settings -&gt; Geosec<\/strong> to configure allowed countries.<\/li>\n<li><strong>IMPORTANT:<\/strong> Add your CURRENT country to the allow list before activating the protection.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20happens%20if%20i%20lock%20myself%20out%3F\"><h3>What happens if I lock myself out?<\/h3><\/dt>\n<dd><p>If you configured an Emergency Key, you can use the special URL (e.g., <code>yoursite.com\/?geosec_bypass=YOURKEY<\/code>) to gain access. If you didn't, you can manually rename the <code>geosec<\/code> folder in <code>wp-content\/plugins\/<\/code> via FTP to disable the plugin.<\/p><\/dd>\n<dt id=\"does%20this%20slow%20down%20my%20site%3F\"><h3>Does this slow down my site?<\/h3><\/dt>\n<dd><p>No. Geosec caches IP geolocation results for 24 hours. Subsequent requests from the same IP are instant.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed typos.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release in Wordpress repository.<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Updated readme security claims to comply with WordPress guidelines.<\/li>\n<li>Fixed typos in documentation.<\/li>\n<li>Updated plugin description for consistency.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added \"Top Blocked IPs\" statistics.<\/li>\n<li>Added Internationalization (English, Spanish, French).<\/li>\n<li>UI Improvements.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added Statistics tab.<\/li>\n<li>Added Credits section.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Geosec protects your admin panel (wp-admin) by allowing access only from the countries you authorize.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/278297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=278297"}],"author":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rbonfil"}],"wp:attachment":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=278297"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=278297"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=278297"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=278297"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=278297"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=278297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}