Home arrow AJAX & Prototype arrow Protecting Web Forms with AJAX

Protecting Web Forms with AJAX

Are you looking for a new way to protect your web forms from malicious hackers and spam bots? Then you've come to the right place. In this four-part article series, you'll learn how to use Ajax to protect those forms. Keep reading to learn how to build an Ajax-based verification code mechanism that you can use on your own web site.

TABLE OF CONTENTS:
  1. Protecting Web Forms with AJAX
  2. Developing a verification code mechanism
  3. Generating verification codes with Ajax
  4. Generating verification codes on the web server
By: Alejandro Gervasio
Rating: starstarstarstarstar / 8
March 18, 2009

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Introduction

With the Web being widely inundated by spam bots these days, itís not surprising that many conscientious web developers have started creating different mechanisms aimed at protecting HTML forms against fake submissions.

Ranging from generating the so-called noisy images to including simple verification codes, there are plenty of solutions available today that can be implemented to prevent (at least partially) web forms from being hacked by a robot program.

However, with the huge proliferation of Ajax-driven applications, new approaches have emerged in the last few months which have contributed to making web forms a bit better protected against potential attacks from spam bots.

Are you interested in learning how a simple Ajax-based program can be used to increase the security of online forms? In this series of articles Iíll be demonstrating, with numerous hands-on examples, how to create different kinds of verification codes to include in any HTML form. Quite possibly the most interesting facet in developing these mechanisms will rest on the ability to generate the checking codes via Ajax, instead of using conventional HTTP requests.

As youíll see shortly, utilizing Ajax to build a verification code generator for a selected web form will permit us to control more easily certain aspects of the application, such as when to display the codes or even what type of code to show. This includes not only the typical random digits, but a few simple mathematical operations as well.

Itís time to get rid of the preliminaries and start learning how to make web forms a bit safer with Ajax. Letís get going!



 
 
>>> More AJAX & Prototype Articles          >>> More By Alejandro Gervasio
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

AJAX & PROTOTYPE ARTICLES

- Best AJAX Tutorials for Forms
- The Best AJAX Tutorials
- 8 Great Ajax Tutorials
- Using Ajax and jQuery
- Using Ajax and jQuery with HTML Forms
- Ajax.org Offers Cloud9 IDE for JavaScript
- Java Technologies Provider ICEsoft Releases ...
- Using Recaptcha in AJAX Prototype Framework ...
- Google's Closure Compiler Service API: Addit...
- Installing Google Web Toolkit: Introducing t...
- Google's Closure Compiler Service API: Displ...
- Google's Closure Compiler Service API: Deliv...
- Google's Closure Compiler Service API: the A...
- Google's Closure Compiler Service API: the S...
- Google's Closure Compiler Service API: Optim...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: