by tester756 · 2y ago · 0 comments
"Blacklist sanitizing cleans the input by removing unwelcomed characters such as line breaks, extra white spaces, tabs, &, and tags."
But still this is not a way, input sanitization is bullshit.
Using query parameters, thus inserting raw input into already built abstract syntax tree of SQL query
is the correct solution since SQL injection is about affecting tree composition
I didn’t take notes all the way down, but at the end of the day this method is invoked when a prepared statements’ parameters are being bound
When you can use approach which fundamentally prevents SQL injection?