Home arrow AJAX & Prototype arrow Using Integer Multiplication to Protect Web Forms with Ajax

Using Integer Multiplication to Protect Web Forms with Ajax

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.

TABLE OF CONTENTS:
  1. Using Integer Multiplication to Protect Web Forms with Ajax
  2. Review: elementary sums as challenge strings to protect a web form
  3. Extending the use of math: multiplying integer numbers
  4. The application's full source code
By: Alejandro Gervasio
Rating: starstarstarstarstar / 4
April 01, 2009

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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 & 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: