跳至主要內容
WordPress.org

Taiwan 正體中文

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

Plugin Directory

Capsquery Facial Authentication

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

Capsquery Facial Authentication

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

外掛說明

Capsquery Facial Authentication adds a Login with Face button to wp-login.php and a [capsquery_facial_authentication] shortcode for front-end pages.

How it works

  1. A user can enrolls their face from Users → Profile.
  2. They set a 4–8 digit PIN as a second factor.
  3. At login, the browser captures the face locally using face-api.js.
  4. An encrypted face descriptor is matched on the server.
  5. The user confirms their identity and enters their PIN.
  • Face descriptors encrypted at rest (AES-256-GCM)
  • PIN stored as a secure hash
  • Rate limiting and brute-force protection
  • GDPR export/erase support

Third-party library

Face detection and recognition run entirely in the visitor’s browser using face-api.js (MIT license), bundled under assets/vendor/. Its pretrained model weights are required for the plugin to function and are bundled under assets/models/. Since the raw weight files have no meaningful file extension, each one is stored base64-encoded inside a small .json wrapper file and decoded on request by a plugin REST endpoint — no external network calls or third-party servers are involved.

Requirements

  • HTTPS (or localhost for development) — browsers require a secure context for camera access
  • PHP OpenSSL extension
  • A webcam on the client device

Support

Need help or have questions?

Website: https://capsquery.com/
Email: arijit.paul@capsquery.com

螢幕擷圖

Login page with Face Authentication enabled.
Login page with Face Authentication enabled.
User Face Enrollment screen.
User Face Enrollment screen.
PIN verification after successful face recognition.
PIN verification after successful face recognition.
Plugin Settings page.
Plugin Settings page.
Successful facial authentication login.
Successful facial authentication login.
Unlock with pin page.
Unlock with pin page.

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/capsquery-facial-authentication/ or install via Plugins → Add New.
  2. Activate the plugin.
  3. Go to Settings → Facial Authentication and confirm Facial Authentication is enabled.
  4. As a user, open Users → Profile, enroll your face, and set a PIN.
  5. Visit wp-login.php and click Login with Face.

常見問題集

Who can use Capsquery Facial Authentication in the free version?

On a single site, this is typically users with the any role.

Are photos stored on the server?

No. The plugin stores an encrypted mathematical face descriptor (128 numbers), not an image.

Is face matching alone enough to log in?

No. A successful face match must be followed by the correct PIN.

Does it work without HTTPS?

No. Modern browsers block camera access except on HTTPS or localhost.

How do I add Facial Authentication to a page?

Use the shortcode: [capsquery_facial_authentication] or [capsquery_facial_authentication redirect="/my-account"]

What are the .json files under assets/models?

They are the pretrained face-api.js (MIT-licensed) neural network weights needed for on-device face detection and recognition. The library’s raw weight files have no standard file extension, so each one is base64-encoded and wrapped in a .json file; the plugin decodes and streams it back out through its own REST endpoint when the browser loads the model. They are required — the plugin cannot detect or recognize faces without them.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Capsquery Facial Authentication〉的開發相關工作。

參與者
  • arijit1992

將〈Capsquery Facial Authentication〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.0

  • Admin settings page (enable/disable, match sensitivity)
  • Security fixes: removed user_id override, improved REST validation, proper rate-limit responses
  • Privacy/GDPR export and erasure support
  • uninstall.php for clean removal
  • Conditional shortcode asset loading

1.1.1

  • Security improvements

1.1.2

  • Fixed issues reported during WordPress.org plugin review.
  • Code cleanup and compliance improvements.

1.1.3

  • Improved facial recognition security by lowering the default matching threshold.
  • Updated available recognition sensitivity presets.
  • Minor security and performance improvements.
  • Improve face detection in low light visibility
  • Minor design improvement

1.1.4

  • Minor change in shortcode condition to fix shortcode js loading issue

中繼資料

  • 版本 1.1.4
  • 最後更新 2 天前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.0 或更新版本
  • 已測試相容的 WordPress 版本 7.0.2
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    authenticationbiometricloginsecurity
  • 進階檢視

評分

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

Your review

查看全部使用者評論

參與者

  • arijit1992

技術支援

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

檢視技術支援論壇

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

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.