All challenges
Multiple ChoiceIntermediate 30s

Input Validation

Choose the best answer for: input validation
Options
  1. 1Server validation is optional if the client validates first
  2. 2Validation only for strings, since numbers cannot be abused
  3. 3Validate on both client and server; never trust client-side only
  4. 4Client-side validation is enough because users are trusted

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