Question · Next.js course · Module 7: Authentication and Authorization

CSRF attacks can be prevented by:

CSRF attacks can be prevented by:

Answer options

  • CSS validation
  • HTTPS only
  • CSRF tokens and SameSite cookies
  • Strong passwords

You can check the correct answer by solving this task in the CodeWorlds game.