[WordPress] 外掛分享: Drupal Password Encryption

首頁外掛目錄 › Drupal Password Encryption
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
100+
安裝啟用
★★★★
4.3/5 分(4 則評價)
4012 天前
最後更新
問題解決
WordPress 4.1.1+ vtrunk 上架:2015-03-25

內容簡介

Drupal Password Encryption 外掛支援 Drupal 的密碼加密演算法。

密碼加密演算法是一種方法,被用來保護密碼在儲存到資料庫時的安全性,例如當註冊一個新使用者帳號、更改密碼或登錄時檢查密碼是否正確。

這個外掛最適用於從 Drupal 網站匯入使用者的情況。使用者的密碼可以從 Drupal 的 users.pass 資料庫欄位無處理地轉移至 WP 的 wp_users.user_pass 欄位。啟用外掛之後,使用者可以使用在 Drupal 網站登錄時使用的同樣密碼進行 WP 網站的登錄,而無需進行密碼重設。

這個外掛也可以讓 WordPress 加強密碼加密。

啟用此外掛後,任何現有的 WP 使用者(並非從 Drupal 轉移)仍可以使用他們原本的密碼進行登錄。這是因為 phpass 是 Drupal 支援的多個演算法之一。(phpass 是 WP 核心的預設密碼加密演算法。)但是,在使用者更改或重設他們的密碼之前,它將一直使用 phpass 加密。

這個外掛的工作原理是覆寫 WP 的可插拔函數 wp_hash_password() 和 wp_check_password(),並調用包含在外掛檔案中的 Drupal 7的 password.inc 的相應函數。

這個外掛可能適用於 WordPress 的早期版本,如果您嘗試使用此外掛,請分享您的發現。

外掛標籤

開發者團隊

⬇ 下載最新版 (vtrunk) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Drupal Password Encryption」→ 直接安裝(推薦)

原文外掛簡介

The Drupal Password Encryption plugin enables support for Drupal’s password encryption algorithms.

A password encryption algorithm is the method is used to secure a password when preparing to save it to the database, such as when registering a new user account, changing a password, or checking if a password is correct when logging in.

This plugin is most useful for users imported from a Drupal website. Users’ passwords can be migrated (with no processing) from Drupal’s users.pass database column to WP’s wp_users.user_pass column. Then, once the plugin is activated, users can login to the WP website using the same password they used to login to the Drupal website, without needing a password reset.
This plugin is also useful to simply enable stronger password encryption in WordPress.
Once this plugin is activated, any existing WP user (that was not migrated from Drupal) will still be able to login using their same password. This is possible because phpass is one of several algorithms that Drupal supports. (phpass is WP core’s default password encryption algorithm.) However, until the user changes or resets their password, it will remain encrypted using phpass.
The plugin works by overriding WP’s pluggable functions wp_hash_password() and wp_check_password() to invoke the equivalent functions in Drupal 7’s password.inc, which is included with the plugin’s files.
This plugin may work on earlier versions of WordPress. Please share your findings if you try it.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon