Defensive Programming 1st Core Principle
Our first defensive programming core principle addresses a major design flaw in many programs. Let's first formalise the problem into a number of anti patterns, then learn how to systematically address them.
Our first defensive programming core principle addresses a major design flaw in many programs. Let's first formalise the problem into a number of anti patterns, then learn how to systematically address them.
By far, the majority of security attacks are resulted from trusting an untrusted data. The following anti-patterns can result into this issue.
We explore "Parse Untrusted Input" by first discussing what parsing is, the difference between parsing and validation, and safety checks that a parser must implement.
First data safety property that a secure parser must implement.
Second data safety property that a secure parser must implement.
Third data safety property that a secure parser must implement.
Fourth data safety property that a secure parser must implement.
Fifth data safety property that a secure parser must implement.