(Choose 1 answer)
Which of the following is the best ways to protect against injection attacks?
A. Input validation using an allow list
B. SQL queries based on user input
C. Memory size checks
D. Validate integer values before referencing arrays
E. None of the other choices
E32