2 ms·
>The radical solution is parameterized queries. Using parameterized queries is trivial, so it's not comparable here. A better analogy would be like arguing we
by gruez 5y ago
>The radical solution is parameterized queries.
Using parameterized queries is trivial, so it's not comparable here. A better analogy would be like arguing we should keep the SQL injection bug there, in the hopes that the hacks will convince management to rearchitect the whole app to using ORMs. Alternatively: we shouldn't use memory safety mitigations like ASLR/stack cookies/W^X, because that would impede the radical solution of rewriting everything in rust.
- fwip 5y agoNah, you're missing the point entirely. This is the media breathlessly reporting "Amazon bravely fixes SQL injection bug by disallowing special chars!" while every person who's thought about this for more than a minute goes "why the hell are y'all celebrating, that doesn't fix anything." It's not hard to fix. It just requires the will do to it.
- gruez 5y ago>This is the media breathlessly reporting "Amazon bravely fixes SQL injection bug by disallowing special chars!" while every person who's thought about this for more than a minute goes "why the hell are y'all celebrating, that doesn't fix anything." but it does? It's not the ideal fix, but it does prevent sql injections. >It's not hard to fix. It just requires the will do to it. Fixing the soaring cost of education is a non-trivial problem.