🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: CSRF and CORS: all 10 questions

Quiz: CSRF and CORS · Question 10 of 10

Which extra step protects critical actions like changing the account email?

Which extra step protects critical actions like changing the account email?

  1. A.Making the button larger
  2. B.Asking the user to re-enter their password before the change
  3. C.Using GET instead of POST
  4. D.Turning off HTTPS
Answer & explanation

Correct answer: Asking the user to re-enter their password before the change

Re-authentication defeats CSRF and also protects against an unattended logged-in device.

Can you get the rest right without peeking?

Take the timed Quiz: CSRF and CORS quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →