Tổng hợp hầu hết các comment spam trong Drupal 7

Tổng hợp hầu hết các comment spam trong Drupal 7

A few weeks ago I was ready to turn off the comments on my blog. Despite having Mollom running, I was left with a non trivial amount of spam comments to manually deal with each day. It felt like a waste of my time. I love the great comments I get. But there are always people who want to ruin the party, and for the web, it is spammers.

>> Teens Exploring Technology tạo sự khác biệt gì tại South Los Angeles?

>> Headless Websites: Những vấn đề lớn là gì?

On its own, Mollom is not effective enough.

Mollom does a great job at reducing spam, but it does leave behind enough spam to make you question allowing comments at all.

But here is the thing - you don't have to rely on one single system. As soon as I mentioned on Twitter that I wanted to turn off comments due to spam, I got some great replies with various options.

Outsource comments

One option is to use a 3rd party system like Disqus, Livefyre, Facebook or Google to handle the comments. These are nice solutions and they take a lot of the pain away. However, it does mean outsourcing your comments to a 3rd party, which is something I decided against.

Use Hashcash

According to its website, Hashcash is "a proof-of-work algorithm, which has been used as a denial-of-service counter measure technique in a number of systems."

Sounds funky. Friends of mine have said that it worked for them.

There is a Drupal module

There is also HashCash.io and the Drupal module Proof-of-Work CAPTCHA, which uses the same concept (but a different algorithm).

Add Honeypot

Honeypot tricks spam bots by adding a field that only they fill in. The field is named something like "homepage", so they think it is a real field. In fact, only spam bots see the field and it is hidden from real people. If the field is filled in, the comment gets blocked. Honeypot also uses time detection. So if a comment is created in less than 5 seconds, it is more likely to be a spam bot than a human, so it gets blocked.

Check out the Drupal Honeypot module

Add captcha questions

Image based captcha's are generally annoying for users and not totally effective. Spam bots have found ways to complete them. Mollom actually uses an image based captcha if it detects a possible bot.

But there is an alternative which people have had success with: question based captcha. Rather than showing the user a difficult to read image, present them with a simple question, such was "what is two plus ten" or "what is the capital of france". This seems to be more effective against bots, and also a nicer experience for humans. Sure, you have to apply some thought to come up with the answer. But isn't that easier than trying to figure out the characters in image based captchas?

Check out the Drupal Captcha question module.

Other modules to check out

Here is a list of Drupal modules to take a look at, in addition to the ones mentioned above.

What did I do?

I wanted to try the option that would be least intrusive for users first and see how effective it was. I am already running Mollom, so the obvious next step was to add the Honeypot module. Mollom has honeypot built in, but adding the Honeypot module seems to give it an extra boost.

And I am happy to report that it has eliminated pretty much all spam! There is still some left over, but it is significantly lower in number and therefore totally manageable. Success.

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Công cụ cho người phát triển Drupal

Những module cần thiết cho người phát triển Drupal site

Drupal là một khung sườn phát triển phần mềm hướng module, một hệ thống quản trị nội dung miễn phí và mã nguồn mở hàng đầu hiện nay.

Hướng dẫn sử dụng Drush thực hiện automate các task

Hướng dẫn sử dụng Drush thực hiện automate các task

Drush Make is well-known as an advanced tool for Drupal distribution building. But it also can be very useful for those who have never dealt with distributions. 

[Ubuntu] Hướng dẫn đổi mật khẩu Drupal bằng dòng lệnh

[Ubuntu] Hướng dẫn đổi mật khẩu Drupal bằng dòng lệnh

Thông thường để đổi mật khẩu cho website dùng Drupal, bạn làm thế nào? Vào settings.php coi website đang dùng cơ sở dữ liệu ở đâu, với tên đăng nhập và mật khẩu nào, sau đó là dùng PHPMyAdmin hoặc MySql command update

Công ty diệt chuột T&C

 

Diet con trung