Input validation

Checking data as it arrives against strict rules and rejecting what does not fit; best done with an allowlist.

Learn it hands-on