[thelist] Server vs. Client Validation

Feingold Josh S Josh.S.Feingold at irs.gov
Thu Dec 5 14:26:01 CST 2002


--
[ Picked text/plain from multipart/alternative ]

> Does anyone have any thoughts on the cost/benefits of server side field
> validation vs. running it on the client side?

Processing on client (vs server) RISKS:
1) Javascript could be turned off on the client so there goes your
validation
2) Larger and more complicated page which can be a burdon on the user

Processing on client (vs server) BENEFITS:
1) Instantanious results instead of waiting for the server to respond
2) Server doesn't have to waste resources on processing

> Should both be done for security?

Try to acheive a balance depending on your true needs.

Josh
http://www.efeingold.com
http://www.secretguide.net <-- Beta site, comments more than welcome!






More information about the thelist mailing list