All challenges
Multiple ChoiceIntermediate 30s

Sanitize Input

Choose the best answer for: input sanitization
Options
  1. 1Always validate and sanitize user input on both client and server
  2. 2Sanitization is optional when the client already validates the input
  3. 3Only server-side validation matters, since clients cannot be trusted
  4. 4Client-side validation is sufficient and makes server checks redundant

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle