Input Validation

Securitybeginner

// Definition

Checking user-supplied input before it is processed or stored, accepting only what a feature is designed to handle and safely rejecting or escaping everything else. Validation covers required fields, data types, length, format and allowed characters, and must be enforced server-side — browser-side validation is easily bypassed. For QA, varying input along these dimensions (very long text, special characters, HTML-like input, invalid dates) confirms the app handles unexpected input without breaking or storing unsafe content.

// Related terms