All challenges
Multiple ChoiceIntermediate 30s

SQL injection defense

Choose the best answer for: database security
Options
  1. 1This defense applies only when running on a MySQL backend
  2. 2Parameterized queries or ORM; never concatenate user input in SQL
  3. 3Concatenate user input directly into the query string safely
  4. 4No defense is needed if the database is behind a firewall

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