Disable multiple statements in PHP PDO -
is there way disable multiple statement queries in pdo? method works drivers supported?
alternatively, there known filter detect multiple statements in string?
i know prepared statements can better prevent sql injection risks, there reasons why can't use them in case.
you barking wrong tree.
multiple statement not synonym sql injection. it's subset, small one, out of zilliards other possible ways exploit injection.
therefore should protect injection, not multiple statement. this, query sent database api have 100% hardcoded in script. achieve that, substitute variables in query placeholders.
Comments
Post a Comment