AJAX
  Home arrow AJAX arrow Protecting Web Forms with AJAX
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
AJAX

Protecting Web Forms with AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 7
    2009-03-18


    Table of Contents:
  • Protecting Web Forms with AJAX
  • Developing a verification code mechanism
  • Generating verification codes with Ajax
  • Generating verification codes on the web server

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Protecting Web Forms with AJAX
    ( Page 1 of 4 )

    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.

    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 Articles          >>> More By Alejandro Gervasio
     

       

    AJAX ARTICLES

    - PHP AJAX Form Validation
    - Completing a User-Defined CSS Website with P...
    - Create a User-Defined CSS Website with PHP
    - Build A Better Twitter Chat Client Than Cham...
    - Using Division Equations to Make Web Forms S...
    - Using Integer Multiplication to Protect Web ...
    - Using Simple Checksums for Web Form Verifica...
    - Protecting Web Forms with AJAX
    - Using Prototip with AJAX
    - Using Prototip
    - Using the google.load() Method with Google`s...
    - How to Handle Ajax Errors
    - Uncompressing Source Files with Google`s AJA...
    - Using the jQuery Framework with Google`s Aja...
    - Using Google`s Ajax Libraries API




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT