What are the best ways to prevent SQL injection? (Choose two.) A. Avoid SQL statements that take
Question:
What are the best ways to prevent SQL injection? (Choose two.)
A. Avoid SQL statements that take query parameters.
B. Log an error anytime a SQL injection attack is successful.
C. Avoid concatenating user input into a query string.
D. Ensure database resources are closed.
E. Always use a PreparedStatement instead of a Statement.
F. Do not use a relational database.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: