Sam, an application security engineer working in INFRA INC., was conducting a secure code review on an application developed in Java. He found that the developer has used a piece of code as shown in the following screenshot. Identify the security mistakes that the developer has coded?

- He is attempting to use client-side validation
- He is attempting to use whitelist input validation approach
- He is attempting to use regular expression for validation
- He is attempting to use blacklist input validation approach
Reveal Solution Next Question