← Quiz: Web Security Basics: all 10 questions
Quiz: Web Security Basics · Question 8 of 10
Why is a hidden form field like <input type="hidden" name="price" value="999" not a security control?
Why is a hidden form field like <input type="hidden" name="price" value="999"> not a security control?
- A.Hidden fields are encrypted
- B.The user can change any field or request before it reaches the server
- C.Browsers never send hidden fields
- D.Hidden fields only work over HTTP
Answer & explanation
Correct answer: The user can change any field or request before it reaches the server
Never trust anything that comes from the client; read the price from your database.
Can you get the rest right without peeking?
Take the timed Quiz: Web Security Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →