WEBA-P2Practice 2 of 3Multiple choice

The best fix for injection

A search page builds its database command by joining fixed text and the typed name. Which change best prevents SQL injection?

Builds on WEBA-2 Injection: when data becomes a command.

Choose one answer

Need a hint?

Open the hints one at a time. The worked solution unlocks after the last hint.

  1. 1Nudge

  2. 2Approach

    Opens after hint 1.

  3. 3Walk-through

    Opens after hint 2.

  4. Worked solution

    Locked. Open all 3 hints first.

Instructor