What it does
- A hidden field that people never see and bots fill in (its name is yours to set). A filled field is refused.
- A signed time stamp in every guarded form: a form sent faster than a few seconds (you set the time), without a stamp, with a forged stamp, or from a page that was open for more than a day is refused with a clear text. The stamp belongs to one form and one visitor.
- About 75 well-known throw-away mailbox domains (and their subdomains) are refused on the register and contact forms. You add your own domains, and an allow list that always wins.
- A limit of tries per hour for each form and address (1 to 100). Every form has its own count.
- E-mail confirmation: a new account is switched off until the link in its e-mail is used. The link works for the hours you set; only a hash of it is kept; a new link can be asked for on the login page (at most 3 an hour per address, one every 5 minutes per account). Accounts that need your approval stay under your approval. You can confirm an account yourself from the admin page. When the extension is uninstalled, waiting accounts are switched on again, so nobody is locked out.
- Admin page: refused requests in the last 24 hours and 30 days by reason and form, the last 50 refused requests with address and e-mail, and the accounts that wait for their link. Every guard has its own switch. Storefront texts are in a language file you can copy and translate.
What it does not do
- It is not a captcha and not a firewall: a determined human or a bot that reads the page can get through. It removes the cheap, mass spam.
- Questions and answers forms of other extensions are not covered (only register, contact and review).
- The log keeps 60 days; the tables are kept when you uninstall.
- On OpenCart 4.0.2.3 the core review form stops with an error of its own (a model that does not exist): the guard works, the review cannot be saved on that version with or without this extension.
Tested
Installed and used through the real admin installer on OpenCart 2.3.0.2, 3.0.5.1, 4.0.2.3 and 4.1.0.4 (123 to 128 checks each, 0 failures): the hidden fields in the three forms, good and bad requests of every kind, forged and old stamps, throw-away addresses, the lists, the limit of tries, confirmation links by e-mail through a local test server, resend, expiry, the admin numbers and the confirm button, uninstall and reinstall. The page scripts were not driven in a real browser.
Note
Screenshots are not included yet.