Multiple choice technology security

Data returned by which of the following methods should be validated before using it. 1. getParameter () 2. getQueryString () 3. getCookies () 4. getHeaders ()

  1. 1 AND 4

  2. 1 AND 2

  3. 1 AND 2 AND 3

  4. 1 AND 2 AND 3 AND 4

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All data originating from the client side—including parameters, query strings, cookies, and headers—can be easily manipulated by an attacker and must be thoroughly validated before use.