Antibot is an extremely lightweight module designed to eliminate robotic form
submissions on your website in an innovative-fashion. The module works
completely behind the scenes and doesn't require any interaction from the
end-users (no annoying CAPTCHAs!). The only requirement to the end user is
will be hidden and a message will appear, telling the user that the form
Antibot aims to:
- Prevent robotic spam submissions on your site's forms (like comments).
- Be as lightweight as any module could possibly be.
- Protect forms while still being able the cache the page.
- Avoid any end-user interaction or annoying CAPTCHA codes.
- Be much more reliable than a honeypot trap.
- Require no third-party integrations and API keys.
- Work on mobile and touch-screen devices.
- Also prevent remotely posted form submissions
How does it work?
- Admins choose which forms to enable protection for by specifying form IDs.
- The protected form's action path is switched to /antibot.
form is hidden and a message is presented to them.
move, an enter or tab key to be pressed, or a mobile swipe gesture before
the action of the form is switched back to the path that it was originally
set to be. This indicates that the person behind the controls is a human and
not a robot.
changes it, bot submissions will be redirected and the form submissions
- Since there is no dynamic code generated for each form, pages with Antibot
can be cached safely.
- Antibot also generates a unique key value for each form (based on the ID)
will automatically insert this value in to the form once it is unlocked.
This prevents bots from remotely posting forms on your site because that key
will be missing.
form as they normally would.
/antitbot, which is a landing page explaining what happened. The form data
is completely disregarded.
keypresses or mouse/swipe movements, the form remains protected, and the
robotic submissions brings them to /antibot, where nothing happens.
- A bot remotely posts data to your forms (using something like cURL). This
fails validation because Antibot requires a unique key to be present in the
Install this module using the official Backdrop CMS instructions at
Visit the configuration page under Administration > Configuration > Sytem >
Antibot (admin/config/system/antibot) and create a list of form Ids that
you want to protect. You can use wildcard (*) characters. By default, comment
forms, site-wide contact forms, and user forms are protected. There is no
There is an additional admin setting that allows admins to be shown the form
IDs of all forms on the page and whether or not they are Antibot-activated.
Additional documentation is located in the Wiki:
Bugs and Feature requests should be reported in the Issue Queue:
- Jen Lampton (https://github.com/jenlampton).
- Seeking additional maintainers.
- Ported to Backdrop CMS by Jen Lampton.
- Originally written and Maintained for Drupal by Mike Stefanello.
This project is GPL v2 software. See the LICENSE.txt file in this directory for