All challenges
Multiple ChoiceIntermediate 30s

Request validation

Choose the best answer for: input validation
Options
  1. 1Validate on server (never trust client); use schema libraries
  2. 2No validation, since a well-typed client is trusted to send valid data
  3. 3Trust everything, because the client already validates input first
  4. 4Client only, using browser-side checks as the only gate for the data

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