Multiple ChoiceIntermediate 30s
Input sanitization
Choose the best answer for: preventing injection
Options
- 1Trust the client's validation and re-check nothing server-side
- 2Validate on the client only, assuming the browser is safe
- 3Skip sanitization and rely on the database to reject bad input
- 4Validate and sanitize ALL user input on server; never trust client
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.