« a neat way to automatically rebuild other blogs | Main | a brief user's guide to mt-view.cgi »

dealing with crapflooding, part two

As mentioned in the previous entry about crapflooding, in addition to throttling and blacklists, there are three things you can do to secure your blog further:

1) Change the name of your comments script
2) Force users to go through preview mode
3) Require users to enter a CAPTCHA or security code

The reason that these three tricks can be effective is that crapflooding is done using an automated comment submission script. The crapflooders are not looking at your blog's comment form like a human user is. Thus, they may be fooled by a comments script named something other than the standard mt-comments.cgi and they don't realize that posting to the form only sends the comment to a preview page and doesn't submit it, and they don't have any way to see and enter the security code.

There are ways around each of these tricks, but each of them alone will deter at least some crapflooders and all of them together may deter more.

To implement a CAPTCHA in MT, use the SCode plugin. If you are using MT-Blacklist, you will need to apply the SCode hack to MTBlPost.pm as well as Comments.pm. If you are using EZ Subscribe, you will need to add the "code" and "scode" form fields to the sub-to-com.cgi script.

If you are using forced preview as well as a security code, you can leave the security code fields off of your commenting listing (or individual entry archive) template. MT will not check the comment for submission errors between the posting form and the preview page, so it's pointless to ask for the security code at that stage. Since it doesn't check for the security code, you can leave it out without problem. This makes it a bit easier for your visitors. However, you must include the security code fields on your comment preview form and comment error form.

This is the way that I have it set up on all my blogs, including this one. I had earlier converted my preview page to do a spell-check; the spell-check stage is now required.

What happens is that the user enters their comment and information and sees only a "Spell-Check" button to submit with. When they click this, it takes them to the comment preview page. They can review their comment and make changes. They must enter the security code, then can click on a "post" button and their comment will be submitted.

I made some modifications to my comment preview form. I removed the user information fields and created hidden fields to pass the data on. Instead, users see only fields relating to the content of their comment. Hopefully this makes the page less cluttered and more user-friendly, inshallah.

TrackBack

Listed below are links to weblogs that reference dealing with crapflooding, part two:

» changes to comment procedure from Al-Muhajabah's Islamic Blogs
Since the denial of service attack on my site two weeks ago, I've implemented a variety of changes to my... [Read More]

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2