[WordPress] 外掛分享: Admin Country Allowlist

首頁外掛目錄 › Admin Country Allowlist
WordPress 外掛 Admin Country Allowlist 的封面圖片
80+
安裝啟用
尚無評分
111 天前
最後更新
問題解決
WordPress 5.8+ PHP 5.6+ v1.4.0 上架:2024-02-01

內容簡介

- 這是一個提供給WordPress使用的最簡單的國家允許列表外掛程式。
- 使用QWeb的IP to country查詢API,將管理面板和XMLRPC訪問鎖定在允許的國家列表中。
- 優點:安裝並啟用外掛程式後,只需在外掛程式設置中輸入API訪問密鑰,系統會自動識別您所在的國家並添加到允許列表,也可以添加其他國家。
- 只需在一個字段中以逗號分隔的ISO 3166-1 alpha-2國家代碼輸入國家,可以輕鬆將相同列表複製粘貼到多個網站上。
- 外掛程式還使用相同的允許國家列表限制對WordPress的XMLRPC機制的訪問。
- 可選擇允許或禁止經已允許國家內的已知公共代理服務器進行訪問。
- 外掛程式創建IP信息緩存並自動清除一周前的緩存文件,減少查詢請求數量,保持網站的響應性,同時不會創建過大的緩存。
- 作為一個僅17KB的文件,這是一個非常輕量級的外掛程式。構建以實現高效,並使用QWeb的高度敏感的IP查找API,Admin Country Allowlist外掛程式應該成為您管理的任何WordPress網站的標準安全工具。
- 此外掛程式依賴於QWeb的IP to country查詢API進行IP to country查詢,如果沒有來自此服務的有效API密鑰,將無法運作。QWeb提供適用於大多數網站的免費級別的API服務。請參閱QWeb Ltd API使用條款和QWeb Ltd隱私政策。

組問題和答案:

問題1:這個外掛程式可以做什麼?
答案:這個外掛程式可以限制訪問你的WordPress管理面板的特定國家允許列表。

問題2:外掛程式有哪些特點?
答案:這個外掛程式可以將管理面板和XMLRPC訪問鎖定在允許的國家列表中,並且可以選擇允許或禁止已知公共代理服務器的訪問。

問題3:這個外掛程式的使用方法是什麼?
答案:只需安裝並啟用外掛程式,通過QWeb Ltd API控制台獲取訪問密鑰,然後在外掛程式設置中輸入訪問密鑰即可。

問題4:如何添加允許的國家到列表中?
答案:可以將ISO 3166-1 alpha-2國家代碼以逗號分隔的形式輸入到外掛程式的一個字段中,這樣可以輕鬆將相同的列表複製粘貼到多個網站上。

問題5:這個外掛程式的大小如何?
答案:這個外掛程式只有17KB大小,非常輕量級。

問題6:這個外掛程式需要依賴哪個API服務?
答案:這個外掛程式依賴於QWeb的IP to country查詢API進行IP to country查詢。

外掛標籤

開發者團隊

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

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

原文外掛簡介

By far the simplest country allowlist plugin available for WordPress. Locks admin panel and XMLRPC access to a given list of allowed countries using QWeb’s IP to country lookup API.
This is free open source software (FOSS), which you’re welcome to either use as-is, or fork and further develop under the very permissive terms of the MIT license.
Out of the box, this is most likely the simplest, most efficient plugin for restricting access to your WordPress admin panel to an allowlist of specific countries. Simply install and activate the plugin, obtain an access key via the QWeb Ltd API console, and enter your access key in the plugin settings. The plugin will automatically determine your own country and add this to the allowlist, and you can add other countries to the list as you like.
Countries are entered as comma separated ISO 3166-1 alpha-2 country codes in a single field, making it super easy to copy & paste the same list across multiple websites.
This plugin also restricts access to the WordPress XMLRPC mechanism, using the same country allowlist.
You can optionally choose to allow or disallow access through known public proxy servers, even if they’re located in an allowed country.
The plugin creates a cache of IP information and automatically clears cache files older than one week. This reduces the number of lookup requests and keeps your website responsive, without creating an unnecessarily large cache.
As a single 25kb file, this is an exceptionally lightweight plugin. Built to be efficient, and using QWeb’s incredibly responsive IP lookup API, the Admin Country Allowlist plugin should be a part of your standard security kit for any WordPress websites that you manage.
This plugin relies on QWeb’s IP to country lookup API for IP to country lookups, and will not function without an active API key from this service. QWeb does provide a FREE tier for this API service, suitable for most websites. Please refer to the QWeb Ltd API Terms of Use and QWeb Ltd Privacy Policy.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon