commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.V." <jvsr...@gmail.com>
Subject Commons Validator: method to validate fields and prevent SQL injection?
Date Tue, 26 Mar 2013 22:10:59 GMT
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


Mime
View raw message