Recommended releases

Download Links

Honeypot uses both the honeypot and timestamp methods of deterring spam bots
from completing forms on your Backdrop site. These methods are effective against
many spam bots, and are not as intrusive as CAPTCHAs or other methods which
punish the user.

The module currently supports enabling for all forms on the site, or particular
forms like user registration or password reset forms, webforms, contact forms,
node forms, and comment forms.

Installation

  • Install this module using the official Backdrop CMS instructions at
    https://backdropcms.org/guide/modules

  • Visit the configuration page under Administration > Configuration >
    Content authoring (admin/config/content/honeypot) and enter the required
    information.

When testing Honeypot on your website, make sure you're not logged in as an
administrative user or user 1. Honeypot allows administrative users to bypass
Honeypot protection. By default, Honeypot will not be added to forms accessed
by site administrators.

Use in Your Own Forms

If you want to add honeypot to your own forms, or to any form through your own
module's hook_form_alter's, you can simply place the following function call
inside your form builder function (or inside a hook_form_alter):

honeypot_add_form_protection($form, $form_state, array('honeypot', 'time_restriction'));

Note that you can enable or disable either the honeypot field, or the time
restriction on the form by including or not including the option in the array.

Documentation

Additional documentation is located in the Wiki:
https://github.com/backdrop-contrib/honeypot/wiki/Documentation

Issues

Bugs and Feature requests should be reported in the Issue Queue:
https://github.com/backdrop-contrib/honeypot/issues

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for
complete text.