Wednesday, October 30, 2013

Under GWT Architecture, Should we validate InputData at Client Side or Server Side?

Say, we need to make sure data users enter TextBox is String (ex: string must contain only a-z) & this data will be unchanged when transferred to Server & will be stored in Database as a String (in this case containing only a-z).

If we only validate data at client side in GWT, then is there any chance that the data can be altered while transferred to Server?

Ex, is there any chance that, The client validation guaratee the str="abc", but when stored in DB it is "abc<?"?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment