90.4k views
0 votes
Charles is worred about users conducting SQL injection attacks.

Which of the following solutions will best address his concern?
A.Using secure session management
B.Enabling logging on the database
C.Performing user input validation
D.Implementing TLS

User Gwilym
by
7.7k points

1 Answer

3 votes

Final answer:

User input validation, secure session management, and enabling logging on the database are the best solutions to address Charles's concern about SQL injection attacks.

Step-by-step explanation:

Charles should implement user input validation to best address his concern about SQL injection attacks. User input validation involves checking and filtering user input to ensure it meets specific criteria or does not include malicious code. This can be done by using input validation libraries or functions, and by employing input sanitization techniques such as parameterized queries or stored procedures.

In addition to user input validation, other solutions that can help address SQL injection attacks include using secure session management to protect sensitive user data and preventing unauthorized access, as well as enabling logging on the database to monitor and track potential SQL injection attempts.

User TonyW
by
7.9k points