Accept it, your inbox is infested with Spam and you cannot do anything about it. They’ll just crawl into your website and send you those annoying emails through your contact forms or comments section or just about anywhere they can sneak in through. Sure you can Mark them as Spam but will that really help in keeping all those creepy crawlies at bay?
There are two types of spam – Spambots, which are basically scripts designed to collect email addresses and then spam them , and Human Spammers, who are actually sitting on computers just to spam you. We can protect ourselves from Spambots to a certain level but getting around Human spammers is extremely tricky.
Thankfully, Drupal provides you with plenty of solutions and Drupal modules to protect your website from Spambots. Let us take a look at some of them.
Capture them with CAPTCHA
We have all come across a CAPTCHA test at some point or the other and though it may seem annoying as a visitor, this can be a very useful tool to a site administrator. It is that fuzzy image of some text that you have to fill out in a web form and if you’re a legitimate user you can go ahead with submitting your details. This is a decent way to keep some spambots away but it isn’t too difficult for them to find a way out either. Thus, using it as a stand-alone solution is not a very good idea. Installing the Captcha Drupal module is as simple as configuring it.
Complicate it with ReCAPTCHA
ReCaptcha is a step ahead of Captcha making those images/image selections more complex for spambots to understand. Nonetheless, this might put off your visitors too since it can get almost un-readable for humans. The module uses the ReCaptcha webservice and installing/configuring it is a breeze.
Mollom all the way
Developed by Dries Buytaert, the founder of Drupal, Mollom is an intelligent web service that identifies potential spam content and decides if the post is legit or not. It uses machine learning techniques to block spammers from posting malicious content. What more, it can also detect nasty content like profanity by checking against its continually evolving archive of data from different languages. Only if the system figures out that the user is spam, a Captcha is presented, making filling out forms less annoying for a legitimate user.
Lure them spammers with Honeypot
Honeypot, as the name suggests, acts as a trap to deter spam bots from posting harmful data into your website. Honeypot basically adds a hidden field to your web form which is seen only by spambots. So if the hidden field in your form is filled, then you know it’s a spambot and discard the form. You can also set a timer for filling the form since if it is a spambot, they can do it really fast. Let’s say if you set a timer of 5 seconds to fill your contact form, you will know when a spambot is doing so as us humans would most definitely take longer.
AntiSpam by CleanTalk
CleanTalk is an antispam Drupal module that does not use Captcha or any other human intrusive methods for providing protection against spambots. How it works is, form submission requests are sent to the CleanTalk cloud. The information is then tested on the cloud and the response is sent back, either approving or denying the submission.