You are designing and developing a complex database application built using many dynamic SQL statements. Which option could expose your code to SQL injection attacks?
A.
Using bind variables instead of directly concatenating parameters into dynamic SQL statements
B.
Using automated tools to generate code
C.
Not validating parameters which are concatenated into dynamic SQL statements
D.
Validating parameters before concatenating them into dynamic SQL statements
bind variables protect against sql injection So, correct answer ic C.
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
orakell
Highly Voted 5 years, 2 months agopmeyer
Most Recent 1 year, 8 months agochrishillinger
2 years, 5 months agoCosminCof
4 years, 4 months agopeguynya
4 years, 6 months agopeguynya
4 years, 6 months agoSwetank123
4 years, 9 months ago