or http://code.google.com/p/google-web-toolkit/wiki/BeanValidation
On 8 abr, 10:17, Ben Imp <[email protected]> wrote: > Never trust a client. > > -Ben > > On Apr 8, 6:52 am, Stephan T <[email protected]> wrote: > > > > > > > > > The scenario: > > I have a form where you can create a new person by entering name in a > > textbox and click a button. When the user clicks the button I grab the > > value from the textbox and sets it on the Person object. The Person > > object validates the value and makes sure the name on the object only > > contains a-z. If not execution stops and an error is presented to the > > user. If all is good I send the Person object via an RPC call to the > > server. > > > The question: > > When continuing execution on the server, can I be sure that the name > > only contains a-z or do I have to do server validation as well for > > protection from attackers? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
