跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

DCI Admin Security

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

DCI Admin Security

由 DreamCode Infotech 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

Protect WordPress login and wp-admin with IP allowlisting, custom login URLs, email OTP, rate limiting, CAPTCHA, logging and alerts.

Features

  • Allow exact IPv4/IPv6 addresses and CIDR ranges.
  • Accept IPv4 shorthand such as 171.61, stored as 171.61.0.0/16.
  • Change the WordPress login URL.
  • Protect the normal wp-login.php endpoint.
  • Restrict wp-admin by IP while keeping admin-ajax.php available.
  • Optional Cloudflare CF-Connecting-IP detection.
  • Optional trusted X-Forwarded-For detection for known reverse-proxy setups.
  • Optional localhost/loopback bypass for local development.
  • Brute-force rate limiting and temporary lockouts.
  • Email OTP verification for administrators, delivered to each administrator’s WordPress profile email address.
  • Administrator-configured emergency fallback code for environments where email cannot be delivered.
  • Optional Google reCAPTCHA v2, reCAPTCHA v3 or hCaptcha on the WordPress login form.
  • Security event logging with an administrator viewer and configurable retention.
  • Optional email and Slack alerts for repeated blocked-IP or brute-force events.

Important

Keep at least one known administrator IP in the allowlist before enabling IP protection.

Only enable Cloudflare IP detection when the site is actually behind Cloudflare. Only enable trusted X-Forwarded-For when the server is behind a trusted reverse proxy that sets that header.

On localhost, PHP commonly sees 127.0.0.1 or ::1 rather than the browser’s public VPN address. Use a publicly reachable staging site for an end-to-end VPN IP test.

The emergency fallback code is stored as a password hash and is never displayed after saving.

External Services

This plugin can optionally communicate with third-party CAPTCHA verification services when CAPTCHA is enabled:

  • Google reCAPTCHA: the login page loads Google reCAPTCHA assets and sends the submitted CAPTCHA token to Google’s verification endpoint. See https://policies.google.com/privacy and https://policies.google.com/terms.
  • hCaptcha: the login page loads hCaptcha assets and sends the submitted CAPTCHA token to hCaptcha’s verification endpoint. See https://www.hcaptcha.com/privacy and https://www.hcaptcha.com/terms.

The plugin does not contact these services when CAPTCHA is disabled.

IP access examples

Exact IP: 186.189.26.220

IPv4 /16 shorthand: 171.61

CIDR: 171.61.0.0/16

Email OTP

After a successful WordPress administrator password check, a six-digit OTP is generated and sent to that administrator’s WordPress profile email address.

If email delivery is unavailable, an administrator-configured emergency fallback code can be used.

螢幕擷圖

安裝方式

  1. Upload the plugin ZIP from Plugins > Add New > Upload Plugin.
  2. Activate DCI Admin Security.
  3. Open Settings > DCI Admin Security.
  4. Add at least one IP address or CIDR range that should be allowed to reach the protected login/admin area.
  5. Set the custom login slug.
  6. Save the General settings.
  7. Test the custom login URL before enabling strict IP protection on a production site.
  8. Configure Email OTP, CAPTCHA, rate limiting and alerts as required.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈DCI Admin Security〉的開發相關工作。

參與者
  • DreamCode Infotech

將〈DCI Admin Security〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.0

  • Resolved Plugin Check database-query and nonce warnings.
  • Sanitized emergency fallback-code input.
  • Added explicit versions to CAPTCHA provider scripts.
  • Kept IP allowlist, email OTP, and WordPress.org compatibility fixes from 1.0.0.

1.0.0

  • Removed the obsolete TOTP/two-factor authentication implementation and related files.
  • Fixed WordPress coding-standard issues in IP handling, AJAX actions, CAPTCHA output and custom database queries.
  • Added proper login CAPTCHA script enqueueing and a CAPTCHA nonce.
  • Improved PHP 7.4 compatibility by removing PHP 8-only string helper usage.
  • Updated documentation and feature list for the email OTP implementation.

2.4.10

  • Improved IP allowlist matching and localhost development controls.
  • Added IP diagnostics and test tools.

2.4.6

  • Added explicit trusted proxy handling for X-Forwarded-For.
  • Normalized IPv4-mapped IPv6 client addresses.

2.0.0

  • Added brute-force rate limiting, CAPTCHA, security logging and alerts.
  • Added administrator email OTP verification.

1.0.0

  • Initial release with IP allowlist and custom login URL protection.

中繼資料

  • 版本 1.0.0
  • 最後更新 5 天前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.0 或更新版本
  • 已測試相容的 WordPress 版本 7.1.2
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    admin securitycustom loginip whitelistlogin securitysecurity
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • DreamCode Infotech

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Taiwan 正體中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩