I often encounter advice for protecting a web application against a number of vulnerabilities, like SQL injection and other types of injection, by doing input validation. It's sometimes even said to be the single most important technique.I often encounter advice for protecting a web a