Validate at the boundary and trust nothing that crosses it
The claim Most application bugs and a large share of security holes come from the same root cause: data that entered the system in a shape the code did not expect, and was trusted...
Read article