2 ms·
Disallowing quotes isn't a half-bad idea but it won't catch everything; one could still SQL-inject into a query that expects an non-parameterized numeric value.
by wvenable 14y ago
Disallowing quotes isn't a half-bad idea but it won't catch everything; one could still SQL-inject into a query that expects an non-parameterized numeric value.
I prefer to abstract query building enough that most of the time I'm not constructing query text directly.