Pular para o conteúdo
  • Acessar
  • Cadastre-se
WordPress.org

Brasil

  • Temas
  • Plugins
  • Novidades
  • Suporte
    • Documentação
    • Fóruns
  • Sobre
  • Documentação
  • Participe
    • Guias e diretrizes
  • Obter o WordPress
Obter o WordPress

Plugins

  • Meus favoritos
  • Betas
  • Desenvolvedores
Baixar

Login IP & Country Restriction

Por Iulia Cazan
  • Detalhes
  • Avaliações
  • Instalação
  • Desenvolvimento
Suporte

Descrição

This plugin hooks in the authenticate filter. By default, the plugin is set to allow all access and you can configure the plugin to allow the login only from some specified IPs or the specified countries. PLEASE MAKE SURE THAT YOU CONFIGURE THE PLUGIN TO ALLOW YOUR OWN ACCESS. If you set a restriction by IP, then you have to add your own IP (if you are using the plugin in a local setup the IP is 127.0.0.1 or ::1, this is added in your list by default). If you set a restriction by country, then you have to select from the list of countries at least your country. Both types of restrictions work independent, so you can set only one type of restriction or both if you want. Also, you can configure the redirects to frontpage when the URLs are accessed by someone that has a restriction. The restriction is either by country, or not in the specified IPs list.

Hooks

authenticate

License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Version history

6.4.0 – Tested up to 6.1.1, new the option to remove the localhost from the allowed IPs, PHP 8 compatibility, redirect headers updates
6.3.0 – Tested up to 5.9, new debug option for test the country code, new debug option to bypass the PHP native function used for country code detection
6.2.2 – Tested up to 5.8.1, PRO key reset, fix warning for string replacement in debug output
6.2.1 – Tested up to 5.8, fix the styles after applying settings when using with core >= 5.8, fix key input, more string translation
6.2.0 – Tested up to 5.7.2 and PHP 8.0, implemented compatibility changes for PHP 5.6, 7.3, 7.4, new debug tab that allows to export/import plugin settings, debug info (mostly for troubleshooting), accessibility improvements
6.1 – Added notes no IPs or no country filter to apply, fix deselection of country code, more filter types, fix filter when no whitelisted IPs, assets updates.
6.0 – Tested up to 5.6.1, added custom firewall rules, blocked IPs, blocked countries, disable XML-RPC authenticated methods, new UI for selecting countries, JavaScript updates, PHP 8 compatibility, additional support for the PRO version that could include more firewall rules and IP and country simulation, added the current IP.
5.1 – Fix parse error.
5.0 – Tested up to 5.6, + minor standards updates for compatibilty, additional support for the PRO version.
4.1 – Tested up to 5.4, Cloudflare compatibility.
4.0 – Tested up to 5.3.2, icons and styles updates, support for extended options.
3.6 – Tested up to 5.2.2, fix settings last tab select after save, sticky letters list, for better navigation, more padding to the countries letters blocks
3.5 – Tested up to 5.2.1, new screenshots with the latest UI
3.4 – Tested up to 5.1.1, UI update, add redirect options, add current user info and restriction info
3.3 – Tested up to 4.9.7, added translations, added geoplugin fallback
3.2 – Tested up to 4.8.3, added the readable info about the login restriction, added the countries letters for a faster navigation
3.1 – Update method
3.0 – The allowed countries are separated visually from the rest of countries + version test
2.0 – Configurable version
1.0 – Initial version

Imagens de tela

  • Options to select a specific login restriction types.
  • Options to disable XML-RPC authenticated methods.
  • Options to allow and block specified IPs.
  • Options to select/deselect countries as allowed or blocked.
  • Options to configure redirects for visitors that match the authentication restrictions.

Instalação

  • Upload Login IP & Country Restriction to the /wp-content/plugins/ directory of your application
  • Login as Admin
  • Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

None

Avaliações

Good geo blocking

razvanconstantin 6 de dezembro de 2022
But, by default the options are not straight forwward. The default option "Allow login only for allowed countries or allowed IPs" will not block by country, even if you setup the countries allowed, but you did not setup anything under "IP Restriction" (as most will I think). I think a logical solution is to NOT allow logins from restricted countries if nothing has been setup under "IP Restriction". For the geo blocking to actually work, you need to setup the blocking as "Allow login only for allowed countries" For a long time I could not understand why I was getting failed login attempts from countries not allowed by this plugin.

超级棒的IP控制插件!

sjhjunhon 3 de outubro de 2022
太棒了,感谢作者!

Great Plugin… Hideous Banner Ad

jholzy 13 de julho de 2022 1 resposta
2 stars because this plugin works as advertised. No problem with what it does in terms of function but... and I do mean a big BUT... there is now a jumbo, hideous looking banner at the top of every page in the admin begging for donations and wanting a 5 star rating right after it says thanks you for purchasing the pro version. This is beyond annoying and completely unacceptable. If there is a way to turn this off somewhere in the plugin settings I couldn't find it and frankly, I shouldn't have to look for it! Fortunately it was only $10 for the pro. Thanks but no thanks... Removing and looking elsewhere!

Very useful plugin

chauwm 22 de abril de 2022
Work well and recomend to use.

0 pentru reclame aiurea in adin

fitperfect 16 de março de 2022
0 pentru reclame aiurea peste tot. Mai bine luati si impuscati-va ca indienii decat sa faceti pluginuri!

It works fine, I recommend to everyone

hamarl 30 de março de 2022
After purchasing it does not work at all, with any of the restriction options. The developer immediately reacted to my comments (I am a PRO user) and worked out a solution to resolve the issue. Now it works fine and I am pleased with the outcome.
Leia todas as 37 avaliações

Colaboradores e desenvolvedores

“Login IP & Country Restriction” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores
  • Iulia Cazan

Traduzir “Login IP & Country Restriction” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

6.4.0

  • Tested up to 6.1.1
  • Improved PHP 8.1 compatibility
  • Added the option to remove the 120.0.0.1 and ::1 from the allowed IPs (intended only for Cloudflare use)
  • Added WP native headers to the redirects when used

6.3.0

  • Tested up to 5.9
  • Added a new debug option that allows to test the country code that the application detects for a specified IP
  • Added a new option that allows to bypass the PHP native function used for country code detection (if that does not work properly), and in this way to enable alternative detection methods

6.2.2

  • Tested up to 5.8.1
  • Additional support for the PRO key reset
  • Fix warning for string replacement in debug output

6.2.1

  • Tested up to 5.8
  • Fix the styles after applying settings
  • Fix the key input for other settings
  • Added more string translation

6.2.0

  • Tested up to 5.7.2
  • Tested up to PHP 8.0
  • Implemented compatibility changes for PHP 5.6, 7.3, 7.4
  • Added debug tab that allows to export/import plugin settings
  • Added debug info tab (mostly for troubleshooting)
  • Accessibility improvements

6.1

  • Tested up to 5.6.2
  • Added note about using wildcard for the IPs hence no filter to apply
  • Added note about no country filter to apply
  • Fix deselection of country code
  • Added more filter types
  • Fix filter when no whitelisted IPs

6.0

  • Added custom firewall rules
  • Added blocked IPs feature
  • Added blocked countries feature
  • Added the option to disable XML-RPC authenticated methods (suggested by Florin Oprea)
  • New UI for selecting countries
  • JavaScript updates decouple the plugin from the jQuery library
  • PHP 8 compatibility updates
  • Additional support for the PRO version that could include more firewall rules and IP and country simulation
  • Added the current IP in the list of allowed IPs when you want to enable the restriction
  • Tested up to 5.6.1

5.1

  • Fix parse error

5.0

  • Tested up to 5.6, + minor standards updates for compatibilty
  • Additional support for the PRO version that include resticting login from a single IP per user, custom forbidden message, simulate IP and country code, users listing restriction info column.

4.1

  • Tested up to 5.4
  • Cloudflare compatibility.

4.0

  • Tested up to 5.3.2
  • Icons and styles updates.
  • Added support for extended options.

3.6

  • Tested up to 5.2.2
  • Fix settings last tab select after save
  • Sticky letters list, for better navigation
  • Added more padding to the countries letters blocks (for better view on initial scroll)

3.5

  • Tested up to 5.2.1
  • Added new screenshots with the latest UI

3.4

  • Tested up to 5.1.1
  • UI update, compact options, responsive
  • Add redirect options
  • Add current user info and restriction info

3.3

  • Tested up to 4.9.7
  • Added translations
  • Added geoplugin fallback

3.2

  • Tested up to 4.8.3
  • Added the readable info about the login restriction
  • Added the countries letters for a faster navigation
  • Added more save buttons

3.1

  • Update the method to retrieve the data

3.0

  • The allowed countries are separated visually from the rest of countries, compatibility update

2.0

  • allow to configure the IP list
  • allow to select the allowed countries

Meta

  • Versão: 6.4.0
  • Última atualização: 2 semanas atrás
  • Instalações ativas: 5.000+
  • Testado até o WordPress: 6.1.1
  • Versão do PHP: 7.2 ou maior
  • Idioma:
    English (US)
  • Tags:
    authenticatecountry codeiplogin restrictionsecurity
  • Panorama avançado

Classificações

Ver todas
  • 5 estrelas 32
  • 4 estrelas 1
  • 3 estrelas 1
  • 2 estrelas 3
  • 1 estrela 0
Faça o login para enviar uma avaliação.

Colaboradores

  • Iulia Cazan

Suporte

Problemas resolvidos nos dois últimos meses:

0 de 1

Ver fórum de suporte

Doar

Gostaria de apoiar o desenvolvimento deste plugin?

Faça uma doação a este plugin

  • Sobre
  • Novidades
  • Hospedagem
  • Doar
  • Swag
  • Documentação
  • Desenvolvedores
  • Participe
  • Aprenda
  • Mostruário
  • Plugins
  • Temas
  • Padrões
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacidade
  • Código público
WordPress.org
WordPress.org

Brasil

  • Visite nossa página no Facebook
  • Visite nossa conta no Twitter
  • Visite nossa conta no Instagram
  • Visite nossa conta no LinkedIn
Código é Poesia.