All challenges
Multiple ChoiceIntermediate 30s

MIME type detection

Choose the best answer for: file type identification
Options
  1. 1Check the file extension only, ignoring bytes
  2. 2Check magic bytes, not just file extension
  3. 3Trust the client-supplied content type header
  4. 4Perform no checking on the uploaded file

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