All challenges
Multiple ChoiceIntermediate 30s

SQLi Prevention

Choose the best answer for: preventing SQL injection
Options
  1. 1Blocking all user input so nothing reaches the DB
  2. 2Using an ORM, which is always safe against injection
  3. 3Parameterized queries / prepared statements
  4. 4Escaping quotes manually inside every SQL string

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