|
|
|
|
|
by bpicolo
3326 days ago
|
|
He's correct in the sense of trying to catch SQL injection via input validation - that's a losing game. He isn't saying "don't validate your data at all", that's a different issue. Ultimately, your OWASP issues (XSS, SQL Injection) related to input are going to be prevented by appropriate escaping and data handling across your entire stack by default (key word is default, "trust the devs" is not the right answer). Input validation isn't the ticket. This is a prime example of the Robustness Principle.
https://en.wikipedia.org/wiki/Robustness_principle |
|