A login form in a web application takes username and password through two text boxes. When a user submits a valid username followed by a single quote and two double hyphens in the username textbox the user is able to login without providing a valid password. What security controls can prevent this vulnerability? (Choose two best options for this scenario)

PreparedStatement

Input Validation

Multi Factor Authentication

Not allowing special characters in password

Verified Answer
Correct Option - ab

To get all Infosys Certified Security Operation Center Associate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram