You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Trieu, Danny" <DT...@downeysavings.com> on 2003/04/15 20:14:07 UTC

Why validate on the server side and not on the client side using JavaScript???? help

Hi all,

Can you help point out references to materials that will convince people to
validate inputs on the server side.

Thanks,

danny

Re: Why validate on the server side and not on the client side using JavaScript???? help

Posted by "James A. Hillyerd" <ja...@whynotown.com>.
If a user turns off javascript, you have no validation anymore.

-james

On Tue, 2003-04-15 at 11:14, Trieu, Danny wrote:
> Hi all,
> 
> Can you help point out references to materials that will convince people to
> validate inputs on the server side.
> 
> Thanks,
> 
> danny
-- 
James A. Hillyerd <ja...@whynotown.com>
WhyNotOwn.com - http://www.whynotown.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Why validate on the server side and not on the client side using JavaScript???? help

Posted by Mike Jasnowski <mj...@bea.com>.
Well, one primary reason is that you have to protect your server code from
malicious clients. If you only did validation on the client, someone could
for example use a telnet session to post erroneous data to your app, causing
it to crash.

-----Original Message-----
From: Trieu, Danny [mailto:DTrieu@downeysavings.com]
Sent: Tuesday, April 15, 2003 2:14 PM
To: 'struts-user@jakarta.apache.org'
Subject: Why validate on the server side and not on the client side
using JavaScript???? help


Hi all,

Can you help point out references to materials that will convince people to
validate inputs on the server side.

Thanks,

danny


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org