Forums Register Login

SQL injection

+Pie Number of slices to send: Send
Hello,

can someone help to configure out my app to prevent SQL injection ?

What can i do in resultSet ? i have to do something in my JTestField and JPasswordFile ?
+Pie Number of slices to send: Send
Luis,
SQL Injection refers to someone adding bad code to a statement. It has nothing to do with the resultset. By that point, it is too late.

The easiest way to prevent SQL injection is to always use prepared statements and make sure all values are supplied through bind variables as in:
field = ?
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1290 times.
Similar Threads
SQL Injection
sql injection
Malware inserted into my JSP?
Using strings within strings to read vars?
is server side validation is necessary always?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:58:47.