[Gllug] Routers and more importantly, Javascript
Tethys
tet at createservices.com
Wed Nov 19 10:30:54 UTC 2003
"t.clarke" writes:
>I believe that javascript embedded in the web form can do some validation,
>but I have never used it and completely ignorant.
Yes, you can do some validation with Javascript. But be aware that
you're not buying yourself anything with it. You still need to do
server side validation anyway, because Javascript is under the control
of the client, and therefore a malicious user can send unvalidated
data to your application.
The only benefit in using Javascript for validation is that it happens
instantly, rather than requiring a round trip to the web server, and
hence gives a better end user experience. Just don't kid yourself that
it's providing you with security or data integrity.
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list