AJAX
  Home arrow AJAX arrow Using Integer Multiplication to Protect 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? 
Google.com  
AJAX

Using Integer Multiplication to Protect Web Forms with Ajax
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 4
    2009-04-01


    Table of Contents:
  • Using Integer Multiplication to Protect Web Forms with Ajax
  • Review: elementary sums as challenge strings to protect a web form
  • Extending the use of math: multiplying integer numbers
  • The application's full source code

  • 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


    Using Integer Multiplication to Protect Web Forms with Ajax
    ( Page 1 of 4 )

    If you’re a web developer who builds Ajax-driven applications and wants to learn how to use this technology for creating more secure web forms, then look no further. Welcome to the third part of a series focused on making web forms safer with Ajax. Made up of four comprehensive tutorials, this series explains how to generate different types of challenge strings via Ajax, which can be incorporated into any existing HTML form with the purpose of protecting it against attacks.

    Introduction

    Now that you've been introduced to the main subject of this series of articles, it's time to recall the topics we discussed in the last article. In that tutorial I went through the development of a simple Ajax-based application that could dynamically generate a bunch of elementary addition problems to be displayed within a targeted web form.

    The logic that drove this approach was quite easy to understand.Each time a user attempted to submit an HTML form, they were asked to enter the correct sum, in this way implementing a basic mechanism aimed at making the form in question more secure against spam web bots and other malicious programs.

    Of course, using this approach doesn't mean that a web form will be completely invulnerable to those attacks. However, its simplicity and minimal requirements turn it into a viable option for making an online form slightly more secure.

    Now that you've recalled how to develop an Ajax-driven program to generate dynamic sums as challenge strings, you might like to hear that the concept can be extended to work with other mathematical operations as well. Therefore, in this third installment of the series, I'll be explaining how to build a web form protection system where users will be asked to multiply two integers before submitting the form in question.

    This is a variation of the example created in the preceding article, but it does deserve a closer look. So start reading now!



     
     
    >>> 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 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek