2022 Developer Survey is open! Take survey.

New answers tagged

4 votes

Is the following everything one should do to prevent SQL injection?

First, when reading user input you should make sure it's the correct type. The Input/Filter APIs don't handle array/string conversion. So if you're expecting STRING filter to return a string be aware ...
user avatar
  • 8,222

Top 50 recent answers are included