Sunday, July 8, 2007

Prevent robots from submitting data

Spam is/was/has been the biggest problem in the internet. Even in your application. You are developing and testing your web application, it works perfect. but when you deploy it on the internet, huge amount of data is submitted by someone, which is very big problem for you. So you have to prevent from spam like data submission. People have tried many methods to protect from spams, by the time the only method is proven and accepted as standard. Challenge/response CAPTCHA method. According to Wikipedia, CAPTCHA ("Completely Automated Public Turing test to tell Computers and Humans Apart") is a challenge response test which is used to check if the user is human or not. CAPTCHA is used exclusively in applications where user input is required. These applications include blogs, forums, and portals. From the following resources, you can find CAPTCHA implementations and tutorials in your preferred platform.

ASP.NET

Java

PHP

Rails