A trick for keeping spambots off the forum
Posted: Sat Dec 09, 2006 9:36 pm
I've noticed that we tend to get quite a number of spams on this forum that are so stupid they just have to be bots.
I run a forum for wargames terrain called TerraGenesis and although it isn't entirely problem free we don't get any of these. There are a number of reasons for that and some of them may not be appropriate here, however I saw a relatively simple solution to this a while back:
For a bot to make these kind of posts it has to:
1. Register for the forum.
2. Respond to the email verification.
3. Make the post.
Althought this might seem fairly sophisticated, it's not, because the bot is looking for phpBB forums and they all work the same...
...or do they?
The solution I spoke of is to add a 'question' to the registration form, along the lines of: In order to confirm that you are a human as oppsed to a spambot, please type the phrase "I am human" into the box below.
The contents of that box then need to be checked by the code that processes it. Now that the registration form is no longer a standard phpBB registration form, the bots are screwed.
I run a forum for wargames terrain called TerraGenesis and although it isn't entirely problem free we don't get any of these. There are a number of reasons for that and some of them may not be appropriate here, however I saw a relatively simple solution to this a while back:
For a bot to make these kind of posts it has to:
1. Register for the forum.
2. Respond to the email verification.
3. Make the post.
Althought this might seem fairly sophisticated, it's not, because the bot is looking for phpBB forums and they all work the same...
...or do they?
The solution I spoke of is to add a 'question' to the registration form, along the lines of: In order to confirm that you are a human as oppsed to a spambot, please type the phrase "I am human" into the box below.
The contents of that box then need to be checked by the code that processes it. Now that the registration form is no longer a standard phpBB registration form, the bots are screwed.