Question: SQL injection can be mitigated by: not allowing the dynamic construction of multiple queries in one string separated by semicolons. using prepared statements in JDBC
SQL injection can be mitigated by:
not allowing the dynamic construction of multiple queries in one string separated by semicolons.
using prepared statements in JDBC with welltyped parameters.
always validating user input before the dynamic construction of queries.
All of these are correct.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
