Even if you make a mistake in your validation (such as forgetting one out of 100 input
fields), appropriate encoding is still likely to protect you from injection-based attacks. As
long as it is not done in isolation, input validation is still a useful technique, since it may
significantly reduce your attack surface, allow you to detect some attacks, and provide