Title: Geosec
Author: rbonfil
Published: <strong>5 fevereiro, 2026</strong>
Last modified: 6 fevereiro, 2026

---

Pesquisar plugins

![](https://ps.w.org/geosec/assets/banner-772x250.png?rev=3454940)

![](https://ps.w.org/geosec/assets/icon-256x256.png?rev=3454940)

# Geosec

 Por [rbonfil](https://profiles.wordpress.org/rbonfil/)

[Baixar](https://downloads.wordpress.org/plugin/geosec.1.0.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/geosec/#description)
 * [Avaliações](https://br.wordpress.org/plugins/geosec/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/geosec/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/geosec/#developers)

 [Suporte](https://wordpress.org/support/plugin/geosec/)

## Descrição

**Geosec** is a lightweight security plugin designed to protect your WordPress administration
panel (`wp-admin`). It works by detecting the visitor’s country using their IP address
and allowing access **only** if they are in your “Allowed Countries” whitelist.

This significantly hardens your admin panel against brute-force attacks, bot login
attempts, and unauthorized access from foreign countries.

### Key Features

 * **Whitelist-based Protection:** Only allow access from specific countries.
 * **Emergency Key:** Create a unique URL to bypass the lock if you are traveling.
 * **Cloudflare Compatible:** Works seamlessly with Cloudflare and standard server
   setups.
 * **Detailed Statistics:** View logs of blocked attempts and valid logins, including
   Top Blocked Countries and IPs.
 * **Lightweight:** Optimized for performance, querying external APIs only when 
   necessary and caching results.

## Capturas de tela

 * [[
 * **Configuration Panel:** Easily select allowed countries and enable protection.
 * [[
 * **Statistics Dashboard:** View detailed logs of blocked activity.

## Instalação

 1. Upload the `geosec` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Settings -> Geosec** to configure allowed countries.
 4. **IMPORTANT:** Add your CURRENT country to the allow list before activating the
    protection.

## Perguntas frequentes

### What happens if I lock myself out?

If you configured an Emergency Key, you can use the special URL (e.g., `yoursite.
com/?geosec_bypass=YOURKEY`) to gain access. If you didn’t, you can manually rename
the `geosec` folder in `wp-content/plugins/` via FTP to disable the plugin.

### Does this slow down my site?

No. Geosec caches IP geolocation results for 24 hours. Subsequent requests from 
the same IP are instant.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Geosec” é um programa de código aberto. As seguintes pessoas contribuíram para 
este plugin.

Colaboradores

 *   [ rbonfil ](https://profiles.wordpress.org/rbonfil/)

[Traduzir o “Geosec” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/geosec)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/geosec/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/geosec/) ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/geosec/)
por [RSS](https://plugins.trac.wordpress.org/log/geosec/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0.1

 * Fixed typos.

#### 1.0.0

 * Initial release in WordPress repository.

#### 0.3.1

 * Updated readme security claims to comply with WordPress guidelines.
 * Fixed typos in documentation.
 * Updated plugin description for consistency.

#### 0.3

 * Added “Top Blocked IPs” statistics.
 * Added Internationalization (English, Spanish, French).
 * UI Improvements.

#### 0.2

 * Added Statistics tab.
 * Added Credits section.

#### 0.1

 * Initial release.

## Meta

 *  Versão **1.0.1**
 *  Última atualização **4 meses atrás**
 *  Instalações ativas **Menos de 10**
 *  Versão do WordPress ** 5.0 ou superior **
 *  Testado até **6.9.4**
 *  Versão do PHP ** 7.2 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/geosec/)
 * Tags
 * [access-control](https://br.wordpress.org/plugins/tags/access-control/)[block country](https://br.wordpress.org/plugins/tags/block-country/)
   [GeoIP](https://br.wordpress.org/plugins/tags/geoip/)[protection](https://br.wordpress.org/plugins/tags/protection/)
   [security](https://br.wordpress.org/plugins/tags/security/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/geosec/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Your review](https://wordpress.org/support/plugin/geosec/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/geosec/reviews/)

## Colaboradores

 *   [ rbonfil ](https://profiles.wordpress.org/rbonfil/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/geosec/)