[WordPress] 外掛分享: JP User Registration Blacklist

首頁外掛目錄 › JP User Registration Blacklist
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
100+
安裝啟用
★★★★★
5/5 分(6 則評價)
3965 天前
最後更新
問題解決
WordPress 3.0.1+ v1.7.2 上架:2014-05-14

內容簡介

JP User Registration Blacklist 是一款輕量的 WordPress 註冊防護外掛,透過 IP 與電子郵件黑名單比對、數學驗證問題及電子郵件驗證碼三重機制,有效阻擋機器人與垃圾註冊,無需繁瑣設定即可運作。

【主要功能】
• 依據討論設定中的黑名單封鎖特定 IP 或電子郵件註冊
• 註冊時要求使用者解答簡單數學加法題以阻擋機器人
• 透過電子郵件發送四位數驗證碼確認身分
• 自動將使用者註冊時的 IP 位址記錄於「網站」欄位
• 免設定即可使用,啟用後立即生效
• 可自訂數學種子值與表單欄位名稱,定期更換提升安全性

外掛標籤

開發者團隊

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

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

原文外掛簡介

Update: 6/2015
Changed e-mail token and math problem confirmation logic. Previously, everything happened all at once, and the user would get prompted mutliple times for the math problem.
Now, the user must answer the math problem first, before the e-mail token is sent. Once the math problem is correctly answered within the session, it isn’t asked again. The user must now enter the correct token, which results in successful registration.
SPECIAL THANKS TO OLEG M. FOR HELPING ME IDENTIFY, FIX, AND TEST THE ERROR!!
Update: 5/2015
Added E-mail confirmation token. Prevents registration until user enters a token sent via e-mail.
Features:

Prevent users from registering, if their IP or e-mail address is listed in the “Comments” blacklist (Settings..Discussion)
E-mails user a 4-digit token, and requires the user to enter the token in order to register.
Users must solve a simple math problem (Add two one-digit numbers).
Places user IP address in “Website” field.

This is a super-simple user registration spam countermeasure. I searched for a plugin that was SIMPLE and EFFECTIVE. I looked at quite a few plugins that promised the desired effect, but were either cumbersome, or included too many unneeded or unwanted features. Likewise, there are some very simple plugins that are less-than-effective.
This plugin is VERY simple:
If the user’s IP or e-mail address is listed in the “Discussion” comments blacklist, it prevents the user from registering. This functionality should really be built in to WordPress, so, you’re welcome.
When the user registers, they are presented with a simple math problem – adding a 3-digit number to a 1-digit number. 99% of the “user reg spam” is based on bots being able to attack the basic WordPress registration form. By adding even a simple math problem, most bots will fail, removing your site as a target of opportunity. Criminals go after what’s easy – if you make it slightly more difficult for them, they will go after someone else.
Once the user solves the math problem, they are sent a 4 digit token via e-mail, and must enter that token to continue registration.
Finally, knowing the location from where your users register allows you to more effectively evaluate and block the source. This plugin adds the user’s IP address (at the time of registration) to the “Website” field.
Go to http://whois.arin.net to find out who they are. If you decide to block the IP, add the IP address, part of the IP address, or e-mail domain to the “Discussion” comments blacklist, and ANY user registrations from an IP address matching that pattern will be blocked.
Configuration
To Configure the Plugin:
NOTE: NO CONFIGURATION IS REQUIRED. This plugin is fully-functional using the default values.
In the Plugins page, click “Settings” underneath the “JP User Registration Blacklist” plugin.

Seed: This value determines how the answer to the math problem is masked. Periodically change this, to keep the spammers and criminals at bay. The initial value is randomly-generated.

Failed Math Response: Error message displayed to the user, if they fail to correctly solve the math problem.

Rejected IP or E-mail: Error message displayed to the user, if their IP or e-mail is blocked. Keep this simple and generic, to keep them from knowing why they are being blocked.

Form field name for math problem: This field name contains the user’s answer to the math problem. Periodically change this, to keep the bots away. The initial value is randomly-generated.

To Block an IP address

In the WordPress Dashboard, go to “Settings…Discuss”
To block all or part of an IP address, add it on its own line to “Comments Blacklist”
To block all or part of an e-mail address, add it on its own line to “Comments Blacklist”
Click “Save”
(For more details, see Examples)

延伸相關外掛

文章
Filter
Mastodon