前言介紹
- 這款 WordPress 外掛「Protect Admin」是 2020-01-11 上架。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2025-04-25,距離現在已有 7 天。
- 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
- 有 5 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
admin | protect | user account | admin account | prevent admin deletion |
內容簡介
這個外掛可以保護選定的 WP 管理員帳戶和由這些管理員創建的標準文章,以免其他用戶刪除或編輯它們。該外掛對所有非安裝者管理員都是隱藏的,只有「管理員」角色的用戶可以被保護。
如果您想與其他用戶(例如 IT 團隊、開發人員等)分享管理員帳戶,但又不想冒風險影響某些管理員的帳戶,或者您是開發人員或 IT 成員,需要此外掛防止其他非技術管理員意外刪除您的帳戶或特定項目中的關鍵管理員帳戶,那麼這個外掛可能會很有用。
如何工作
啟用插件後,外掛會存儲啟用該插件的用戶的ID,該插件將隱藏在此用戶以外的所有用戶中。
您可以選擇要保護的管理員帳戶(自己或其他人的帳戶)。只有啟用該插件的管理員可以保存其設置。其他用戶將看不到「設置」頁面或菜單。
一旦在設置頁面上選定了受保護的管理員帳戶,其他用戶和管理員將無法:
刪除受保護的管理員帳戶。
訪問受保護的管理員帳戶的個人資料頁面。
更改受保護的管理員帳戶的角色。
在用戶列表頁面的批量操作中選擇受保護的管理員帳戶。
此外,如果其他用戶或管理員在不太可能的情況下使用其他插件訪問了受保護管理員帳戶的個人資料頁面,該插件將防止保存任何修改。
同樣地,如果其他用戶或管理員通過個人資料頁面更改受保護管理員帳戶的電子郵件地址,該插件將將其恢復為原始電子郵件地址。
此外,如果有人試圖編輯受保護管理員帳戶,所嘗試的操作將被記錄到數據庫中。您可以在插件區域的「日誌」下查看最近的嘗試。
重要提示
一旦您停用此外掛,所有具有管理外掛程式能力(activate_plugins)的用戶將能夠看到此外掛。建議在您感到安全時才停用此外掛。否則,您可以從插件的「設置」頁面啟用或禁用保護功能。
如果您想要更保守(根據您的需求),您應該手動禁止文件編輯。該插件不這樣做,因為有些人仍然可能需要它。
define( 'DISALLOW_FILE_EDIT', true );
此外掛尚未與其他用戶管理外掛或角色編輯外掛進行測試。因此,與這些類型的外掛配合使用並不能保證按預期運作。
電子郵件通知
您可以選擇當有人試圖修改您的受保護管理員帳戶時,通過電子郵件收到通知。升級到 Protect Admin PRO 後,輕鬆啟用或禁用電子郵件通知。
Protect Admin PRO
當有人試圖修改您的受保護管理員帳戶時,立即得知。
獲取試圖修改受保護管理員帳戶的所有用戶的所有日誌和數據(免費版本僅記錄最近的一次嘗試)。
保護直接由受保護的管理員創建的標準文章和頁面。
查看 更多資訊。
原文外掛簡介
This plugin protects selected WP Admin accounts, and standard posts created by those Admins, from being deleted or edited by other users. This plugin is hidden from all users other than the Admin who installs it. Only users with the “Administrator” role can be protected.
This plugin might be useful if you want to share admin access with other users (i.e. IT team, developers, etc) but don’t want to risk impacting the accounts of certain Admins. Or, perhaps you’re the developer or IT member who might need this plugin to prevent other non-technical Admins from accidentally deleting your account or key Admins on specific projects.
How It Works
As soon as the plugin is activated, it will store the ID of the user that activates the plugin. The plugin will then be hidden from all users other than this user.
You can choose which Admin accounts (yours or others) to protect. Only the Admin who activates the plugin can save its settings. Other users won’t see the Settings page or the menu.
Once protected admin accounts are selected on the Settings page, other users and admins will NOT be able to:
delete the protected Admin accounts.
access the profile edit page for the protected Admin accounts.
change the role of the protected Admin accounts.
select the protected Admin accounts in the bulk actions on users list page.
Additionally, if other users or Admins, under unlikely circumstances, are able to access the user profile page of the protected Admin accounts using other plugins, this plugin will prevent any modifications from being saved.
Similar to the above, if other users or Admins are able to change the protected Admin account’s email address via the Profile page, this plugin will revert it back to the original email address.
Also, should someone attempt to edit a protected Admin’s account, the attempted action will be logged to the database. You can view recent attempts under Logs within the plugin’s section.
Important Reminder
Once you deactivate the plugin, all users with the ability to manage plugins (activate_plugins capability) will be able to see the plugin. It is advised to only deactivate the plugin when you feel safe to do so. Otherwise you can just enable or disable protection from the plugin’s Settings page.
If you want to be extra cautious (depending on your needs), you should also manually disallow file edit. This plugin doesn’t do that because some people might still need it.
define( 'DISALLOW_FILE_EDIT', true );
This plugin has NOT been tested with other user management plugins or role editor plugins. Hence its use alongside these types of plugins is not guaranteed to work as intended.
Email Notification
You can choose to get notified by email when someone attempts to modify your protected Admin accounts. Easily enable or disable email notification when you upgrade to Protect Admin PRO.
Protect Admin PRO
Be the first to know when someone is attempting to modify your protected admin accounts.
Get access to all logs and data of users who try to modify the protected admin accounts (the FREE version only records the most recent attempt).
Protect standard posts and pages made directly by protected Admins.
See more.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Protect Admin」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1.0 | 0.2.0 | 0.2.1 | 0.3.0 | 0.3.1 | 0.4.0 | 0.4.1 | 0.4.2 | 0.4.3 | 1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.1.0 | 2.1.1 | 2.1.2 | 2.1.3 | 2.1.4 | trunk |
延伸相關外掛(你可能也想知道)
Woo Products Require Account 》在每個 WooCommerce 產品編輯頁面上新增一個核取方塊,允許您要求客戶必須登入帳戶才能購買該產品,即使全域啟用了訪客模式。。
Woo Generate New Password Reset Link 》如果你的網站自動生成客戶憑據,那麼他們會在電子郵件中以明文形式收到他們的用戶名和密碼。, 為了提高安全性並使體驗更加用戶友好,這個外掛會向用戶發送一...。