[WordPress] 外掛分享: RC Geo Access Plugin

首頁外掛目錄 › RC Geo Access Plugin
WordPress 外掛 RC Geo Access Plugin 的封面圖片
20+
安裝啟用
★★★★★
5/5 分(1 則評價)
46 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.49 上架:2018-10-07

內容簡介

此外掛基於嘗試訪問登入頁面的用戶位置來限制對 WordPress 管理員登入頁面的訪問。以此方式限制訪問可以減少不必要的登入嘗試。
為了取得用戶位置,此外掛會根據試圖訪問登入頁面的用戶 IP 地址並使用地理定位 API 進行地理定位。目前有兩個可用的定位服務:

IPStack:http://ipstack.com
IPGeolocation:https://ipgeolocation.io

請注意:使用此外掛需要啟用 API 金鑰。您可以在上述網站註冊免費帳戶以啟用 API 金鑰。請注意,它們提供不同數量的定位 API 請求以供免費和付費方案使用,如果您的網站收到大量登入嘗試,可能需要升級付費方案以提供更多的請求次數。

使用範例:

啟用外掛並在 WordPress 管理員設置選單中訪問“RC Geo Access”頁面以設定所需的設置。請注意:使用此外掛需要啟用 API 金鑰。目前有兩個可用的定位服務供您選擇,即“IPStack”- http://ipstack.com 和“IPGeolocation”- https://ipgeolocation.io。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.49) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「RC Geo Access Plugin」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon