Defensive Programming 3rd Core Principle
The third defensive programming principle focuses on weakly enforced security controls. We may have the hard task of building security controls, but there is no guarantee that they will always be used as our program grows in features. First, we formalize this common issue in anti-patterns, then we will introduce the principle and two implementation techniques.