top | item 38120860

(no title)

blep_ | 2 years ago

SQL sanitation is foolproof in the sense of it being possible to do 100% right. We don't do it much because there are other options (like prepared statements) that are easier to get 100% right.

This is an entirely different thing from trying to reduce the probability of an attack working.

discuss

order

zaphar|2 years ago

Everything is in theory possible to do 100% right. The difficulty of doing so is why people choose better solutions, like prepared statements.