Friday, August 16, 2013

RE: Data validation: Client or Server?

Good stuff, but just think about how it can be manipulated.

 

Filed, for example you mighr be validating Susans hair colur down the road.

Few tweeks with Firebug and I change to input to [user]…… presto now I can see if you have a valid user, password.

 

Sure I have to try over and over but it exposed you validation set on the model.

 

Stay away from live validation as such it sucks!

 

 

Dave

From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Eric Haskins
Sent: Friday, August 16, 2013 9:29 PM
To: cake-php@googlegroups.com
Subject: Re: Data validation: Client or Server?

 

 

We always use both if not both server-side 

 

 

Eric Haskins

High Octane Brands 

http://highoctanebrands.com

On Friday, August 16, 2013 7:32:29 AM UTC-4, jer...@anthemwebsolutions.com wrote:

I wanted to get some opinions on this. Cake's validation structure is easy to apply and works flawlessly (so far, wink,wink). But I've also written some data validation with jQuery which is activated at the client side.

Is there still a need to validate at the server if most browsers support javascript? Do some of you leave off the server side validation in lieu of client side? How's that HTML5 data validation working for you?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: