A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How do we avoid SQL injection
Joined: Oct 11, 2006
Nov 23, 2007 22:11:00
Are there tools to avoid sql injection or is there a way to prevent it from happening?
Joined: Mar 22, 2005
Nov 24, 2007 01:06:00
contains links to two articles about SQL injection.
The key is not to put parameters directly into queries. With straight
; with Hibernate, use the Query class and setParameter.
Ping & DNS, my free Android app for network diagnostics
Joined: Aug 11, 2007
Nov 24, 2007 21:26:00
More generally, never trust anything that comes from a browser. You may think its a browser, but it could be a program posing as a browser.
Even more generally, never trust anything from a user.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How do we avoid SQL injection
PreparedStatement - to use or not to use
Does this sound believable?
Using strings within strings to read vars?
SQL Injection prevention
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013