Security · Secure Coding
What is input validation?
Input validation checks that external data conforms to expected type, length, format, range, and business constraints before it is processed. Validation reduces unexpected behavior but must be paired with context-specific defenses such as parameterization and output encoding.