phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


CAPTCHA - part 2: "Are you human or ....?"

Tag: captcha, php security, php class   Category: PHP Security, PHP Classes
post: 05 Oct 2007 read: 1,648


PHP CAPTCHA Tutorial: We need solution that called CAPTCHA. A CAPTCHA (Completely Automated Public Turing to tell Computers from Humans Apart) is a program that can generate and grade tests that:
  1. Most humans can pass.
  2. Current computer programs (robot programm) can't pass. For example: You, as humans, can read distorted text at image in register form but current computer programs can't.

What are the application suitable for CAPTCHAs?

You can apply this method to web application like:

Online Polls
Can the result of any online poll be trusted? Not unless the poll requires that only humans can vote.

Free Email Services.
Several companies (Yahoo!, Microsoft, etc.) offer free email services. Most of these suffer from a specific type of attack: "bots" that sign up for thousands of email accounts every minute.

Search Engine Bots.
Search engine bots, since they usually belong to large companies, respect web pages that don't want to allow them in. However, in order to truly guarantee that bots won't enter a web site, CAPTCHAs are needed.

Worms and Spam.
CAPTCHAs also offer a plausible solution against email worms and spam: "I will only accept an email if I know there is a human behind the other computer."

Preventing Dictionary Attacks.
Pinkas and Sander have suggested using CAPTCHAs to prevent dictionary attacks in password systems. The idea is simple: prevent a computer from being able to iterate through the entire space of passwords.

For more informations about CAPTCHAs please visit http://www.captcha.net/


Series this article:
CAPTCHA - part 1 : "Are you human or ....?" (Introduction)
CAPTCHA - part 2: "Are you human or ....?"
CAPTCHA - part 3 : "Are you human or ....?" (Build Your CAPTCHA)
CAPTCHA - part 4 : "Are you human or ....?" (Modify Your CAPTCHA)

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting