Home arrow AJAX & Prototype arrow Using Division Equations to Make Web Forms Safer with Ajax

Using Division Equations to Make Web Forms Safer with Ajax

From a web developerís point of view, building a mechanism that permits you to protect online forms against attacks by spam bots, malicious automated submissions, and so forth, can be challenging. Developing such an application often requires using a server-side graphic library to generate the so-called noisy images. However, itís possible to quickly create a similar mechanism with Ajax, without having to work directly with images generated in the web server. This is the fourth part of a four-part series that explains how to do just that.

TABLE OF CONTENTS:
  1. Using Division Equations to Make Web Forms Safer with Ajax
  2. Review: challenging users with multiplication
  3. Using division equations as challenge strings
  4. Completing the Ajax-based web form protection mechanism
By: Alejandro Gervasio
Rating: starstarstarstarstar / 2
April 08, 2009

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Introduction

Therefore, if youíre interested in learning how to build a basic Ajax-driven program that makes your web forms a bit more secure, then in this group of articles youíll have at your disposal a comprehensive guide on how to achieve this with minor efforts. Additionally, youíll learn how to provide the program in question with the capacity for generating different types of mathematical operations in the form of challenge strings.

And speaking of mathematical operations, youíll probably recall that during the previous article of the series, I demonstrated how to develop a simple Ajax-based system that could display multiplication equations within a targeted online form. 

In this particular case, before submitting the online form, users were asked to enter the correct result of this operation, which was properly checked in the web server at a later time. Of course, as you may guess, this approach has some disadvantages, since those dynamic operations are embedded into the web form as plain text, which can be pretty easy to digest for some web bots. However, this protecting mechanism is extremely simple to implement, and it can be also used when working with online forms that donít collect critical data.

In this fourth part of the series, Iím going to teach you how to adapt the Ajax application developed in the previous article, so it can display division equations as challenge strings into a selected online form.

Thus, with the preliminaries out of our way, itís time to learn how to create the aforementioned Ajax program in a few simple steps. Letís begin 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: