All challenges
Multiple ChoiceIntermediate 30s

File validation

Choose the best answer for: upload security
Options
  1. 1No validation; accept any uploaded file blindly
  2. 2Extension check only, trusting the file name
  3. 3Trust the client to report the correct file type
  4. 4Validate type (magic bytes), size, and scan for malware

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