You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "J.V." <jv...@gmail.com> on 2013/03/26 23:10:59 UTC
Commons Validator: method to validate fields and prevent SQL injection?
I am using Apache Commons validator to validate form fields in a web
page. Is there a validator (Java method) out there in common code that
would prevent (or return an error) if any characters common to SQL
injection are used in the form field?
I have over 100 forms and 500 fields to validate and am looking for a
single method to do this (or an easy way to apply these validations
across all fields. If anyone has done this and could share the method,
it would be most helpful.
thanks
J.V.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org