← All practice quizzes
Quiz: CSRF and CORS
5 questionsNo time limitPass: 60%+10 XP on first pass
How a malicious page can make a logged-in user's browser perform actions on your site (CSRF), the defences (SameSite cookies, CSRF tokens, origin checks), and the most misunderstood header in web development — CORS.
Log in to take the quiz
Free account · see your score, answers and explanations, earn XP