A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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.
Java web charts
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.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How do we avoid SQL injection
PreparedStatement - to use or not to use
SQL Injection prevention
Does this sound believable?
Using strings within strings to read vars?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013