[Javascript] Maximun length of an id

Brian L. Matthews blmatthews at gmail.com
Fri Sep 7 22:20:54 CDT 2007


John Pillion wrote:
> auto generating the form ID's is a way of keeping people from hooking 
> into the form for either spamming, hacking, etc.  If the form ID's/names 
> are randomly generated each time the page loads, it helps deter anyone 
> from automating any script for the form.  It's a technique commonly used 
> in bank applications etc. 
>   

It doesn't really stop it, it just makes it a little trickier. It also 
makes legitimate hacking of the form (using Greasemonkey for example) 
more difficult, although again, certainly not anywhere near impossible.

Brian



More information about the Javascript mailing list