콘텐츠로 바로가기
WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
  • 지원
    • 문서
    • 포럼
  • About
  • 워드프레스 소개
    • WordPress 6.9
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 한국팀
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

RC Geo Access Plugin

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

RC Geo Access Plugin

작성자: Rick Curran
다운로드
  • 세부사항
  • 평가
  • 설치
  • 개발
지원

설명

This plugin restricts access to the login page of your WordPress Admin based on the location of the user trying to access it. Restricting access in this way can be a useful way of reducing unwanted login attempts.
To get the location of the user the plugin gets the IP address of the user attempting to access the login page and geo-locates their location by using a geolocation API, currently there are three options available to use:

  • IPStack: http://ipstack.com
  • IPGeolocation: https://ipgeolocation.io
  • OpenLiteSpeed’s local GeoIP variables

Please note: an active API Key is required for IPStack and IPGeolocation for the plugin to function correctly. You can register a free account at either of the website addresses above. Please note they offer varying amounts of location API requests for their free and paid plans, it may be necessary to upgrade to a paid plan to provide an increased amount of requests if your site gets a huge amount of login attempts. The OpenLiteSpeed’s local GeoIP variables option can be used if you are using OpenLiteSpeed server and have a properly configured geolocation database, more information about configuring that is available here: https://docs.openlitespeed.org/config/advanced/geolocation/#enabling-geolocation

Example usage:

Enable the plugin and access the “RC Geo Access” page in the Settings menu in your WordPress Admin to configure the required settings. Note: an active API Key is required for this plugin to function, currently there are two external Geolocation services available to use, you can choose from either ‘IPStack’ – http://ipstack.com and ‘IPGeolocation’ – https://ipgeolocation.io as the geolocation providers. The OpenLiteSpeed’s local GeoIP variables option can be used if you are using OpenLiteSpeed server and have a properly configured geolocation database, more information about configuring that is available here: https://docs.openlitespeed.org/config/advanced/geolocation/#enabling-geolocation

스크린샷

  • This screen shot shows the administration page for the “RC Geo Access” plugin in the WordPress backend
  • This screen shot shows an example output shown when someone is prevented from accessing the login page

설치

  1. Upload the plugin package to the plugins directory of your site, or search for “RC Geo Access” in the WordPress plugins directory from the Plugins section of your WordPress dashboard.
  2. Once uploaded or installed you must activate the plugin from the Plugins section of your WordPress dashboard.
  3. Go to the “RC Geo Access” page in the Settings menu in your WordPress Admin to configure your plugin.

FAQ

What does this plugin do?

This plugin restricts access to the login page of your WordPress Admin based on the location of the user trying to access it. Restricting access in this way can be a useful way of reducing unwanted login attempts.

How does this plugin get the user’s location?

The plugin uses a geolocation API to look up the user’s location based on their IP address. Note: an active API Key may be required for this plugin to function, currently there are two external services available to use, you can choose from either ‘IPStack’ – http://ipstack.com and ‘IPGeolocation’ – https://ipgeolocation.io as the geolocation providers. There is also a third OpenLiteSpeed’s local GeoIP variables option which can be used if you are using OpenLiteSpeed server and have a properly configured geolocation database, more information about configuring that is available here: https://docs.openlitespeed.org/config/advanced/geolocation/#enabling-geolocation

Can I use other geolocation APIs?

No, at this time it is only possible to use either the external providers of IPStack.com or the IPGeolocation.io, or the locally configured OpenLiteSpeed Geolocation functionality.

How do I configure the plugin settings?

You can configure all of the plugin settings from the “RC Geo Access” menu found in the “Settings” menu in your WordPress admin.

How can I tell if it is working?

If you’re not seeing any error messages when you are in the plugin settings page then it should hopefully be working correctly. If you’ve enabled email notifications then at some point you should receive an email when your login page is restricted. There is a way to test it yourself but you need to be very careful! Uncheck your country from the list and save the changes (do not close the browser window or logout from WordPress or you will be locked out of your site – see below for help if that happens!), using another browser or browser tab attempt to access your login page.

Help! I’ve enabled this plugin and now I’m locked out of my site!

Yikes, sorry! There is a potential danger of this happening if you have enabled the restriction (including the required API key) but you did not set your own country location to be accessible. If this happens then I’m afraid the only option here is to connect to your site directly via SFTP / FTP and remove the plugin files from your site. Once removed you will then be able to login, you can then re-install the plugin, you should then immediately ensure that your current country location is given access in the “RC Geo Access” page in the Settings menu in your WordPress Admin.

I am using the OpenLiteSpeed Geolocation option but it isn’t blocking login access

If you are using the OpenLiteSpeed option the IP address of users to your site must be found in the configured Geolocation database in order to establish the user’s country. If the IP address isn’t found it will trigger an error message email to be sent which begins with “Sorry, the OpenLiteSpeed GeoIP variables could not be read…”. If you receive this error email then you should check that the Geolocation database is configured correctly and also that the database is up to date.

후기

Does what it’s meant to!

Pulse North 2018년 10월 8일
Fits my needs perfectly for keeping my Wordpress security tight, minimal but clear instructions make it pretty straight forward to install, no complaints!
모든 1 평가 읽기

기여자 & 개발자

“RC Geo Access Plugin”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • Rick Curran

자국어로 “RC Geo Access Plugin”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

1.49

  • Added support for OpenLiteSpeed web server’s local Geolocation functionality, this removes the need for an external third-party geolocation API if you are serving websites using OLS. See more details about how to configure this in OLS here: https://docs.openlitespeed.org/config/advanced/geolocation/#enabling-geolocation

1.48

  • Code tweak for PHP8 compatiblity

1.47

  • Fixed first-run issue setting the default country code as active when using the ipgeolocation API due to a difference in the country code parameter naming. Tweaked position and wording of some error notification messages.

1.46

  • Added initial blank “Select…” value to the API Provider dropdown as it would default to ‘ipgeolocation’ at first which would cause issues if saving without an API key set. Also added an additional check to make sure a valid API provider value is set when the actual login location check is triggered.

1.45

  • Added ipgeolocation.io as an additional API provider. Plugin description text updated to provide information about this additional service. Also provided additional text to clarify that IPStack’s free API limit which has been reduced to 100 requests per month and clarified compatibility up to WordPress 5.8.2.

1.44

  • Added IPStack affiliate link as a way for people to support the plugin if using a paid IPStack plan.

1.43

  • Minor Update to change plugin description text to clarify IPStack’s free API limit which has changed to 5,000 requests per month. Also updated the url of the website for the plugin and clarify compatibility up to WordPress 5.7.2

1.42

  • Changed IPStack API url call to use plain HTTP as free accounts don’t support SSL requests. Added related error code notification.

1.41

  • Prevented “Settings” link from appearing in Network Plugins page on Multisite installation.

1.4

  • Added plugin activation check to see if the plugin has been previously activated and had its restriction function enabled to prevent users from potentially being locked out of their site again.
  • Countries Whitelist now hidden until restriction function enabled and API Key set, this process improves the first-run experience when configuring the plugin.
  • Added notice in Dashboard and Plugin page to prompt user to configure the plugin via a link to the plugin settings page.

기초

  • 버전 1.49
  • 최근 업데이트: 3주 전
  • 활성화된 설치 10+
  • 워드프레스 버전 5.0 또는 그 이상
  • 다음까지 시험됨: 6.9.1
  • PHP 버전 7.4 또는 그 이상
  • 언어
    English (US)
  • 태그:
    geolocationloginsecurity
  • 고급 보기

평점

별 5점 만점에 5점.
  • 1/5-별점 후기 별 5개 1
  • 0/4-별점 후기 별 4개 0
  • 0/3-별점 후기 별 3개 0
  • 0/2-별점 후기 별 2개 0
  • 0/1-별점 후기 별 1개 0

리뷰 추가하기

모든 리뷰 보기

기여자

  • Rick Curran

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

기부

이 플러그인이 발전하도록 도우시겠습니까?

이 플러그인에 기부하기

  • 소개
  • 뉴스
  • 호스팅
  • 개인정보
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 배우기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • 미래를 위한 5가지
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

한국어

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다