Question
SQL Injection, replace single quote with two single quotes?
Is replacing a single quote with two single quotes adequate
for eliminating
SQL injection attacks? This article (
http://www.devguru.com/features/kb/kb100206.asp ) offers that advice, and it
enabled me to allow users to search name fields in the database that contain
single quotes.
I was advised to use "Paramaterized SQL" in an earlier post, but I can't
understand the concept behind that method, and whether it applies to
queries, writes, or both.
SQL injection attacks? This article (
http://www.devguru.com/features/kb/kb100206.asp ) offers that advice, and it
enabled me to allow users to search name fields in the database that contain
single quotes.
I was advised to use "Paramaterized SQL" in an earlier post, but I can't
understand the concept behind that method, and whether it applies to
queries, writes, or both.
