WebApp Sec mailing list archives

Re: JDBC protections against SQL Injection


From: Florian Weimer <fw () deneb enyo de>
Date: Thu, 19 Mar 2009 21:03:23 +0100

Being paranoid, I wanted to review the source in java and find the
area where the input is "escaped" to see how they handle the protections
in implementation rather than blindly trust someone saying "just use ...
it will protect against SQL injection".

It's in the JDBC driver.  Escaping is database-specific, so only the
driver knows how to do it properly.



Current thread: