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:

Question Posted: