Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

Explain the concept of CSRF cookies.

Asked by Ankur Dwivedi Apr 4, 2022 1.3K views 1 answer
Share

About this question

 I've seen some websites use CSRF tokens in the cookie field like _csrf=123abc and not as a separate header or as part of POST data. My question is, when an attacker's website makes a CSRF request with those cookies to the victim's website, how is the CSRF token useful here? Doesn't the CSRF token go with the cookie?

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.