|
|
|
|
|
by Smithalicious
416 days ago
|
|
But this doesn't prevent SQL injection, does it? It adds a grammar feature that you can then use to build SQL injection prevention following a novel idiom. Someone still needs to write the actual SQL building logic somewhere! I don't think this is the right idiom for doing this. Frankly I don't think SQL query generation should look like string templating at all! The sell seems to be "now you can write code that looks like an SQL injection vulnerability, without it actually being vulnerable!". I'd rather write code that isn't a vulnerability, and doesn't look like one, and doesn't have to bend the language grammar either. |
|