About 50 results
Open links in new tab
  1. security - Understanding CSRF - Stack Overflow

    Apr 6, 2010 · 26 CSRF Explained with an analogy - Example: You open the front door of your house with a key. Before you go inside, you speak to your neighbour While you are having this …

  2. What is a CSRF token? What is its importance and how does it work?

    Mar 5, 2011 · I am writing an application (Django, it so happens) and I just want an idea of what actually a "CSRF token" is and how it protects the data. Is the post data not safe if you do not use …

  3. CSRF (Cross-site request forgery) attack example and prevention in PHP

    CSRF (Cross-site request forgery) attack example and prevention in PHP Asked 15 years, 11 months ago Modified 6 years, 11 months ago Viewed 84k times

  4. security - How to demonstrate a CSRF attack - Stack Overflow

    I'm doing an introduction to the web security to some other people in our enterprise, and I want to show some example to have more impact. For this I've created a small website which is vulnerable...

  5. How to protect against CSRF by default in ASP.NET MVC 4?

    Apr 1, 2012 · For instance, is there a way to have AntiForgeryToken automatically applied to all forms in both views and controller actions? Background on this question: Prevent Cross-Site Request Forgery …

  6. CSRF protection not working with Spring Security 6

    Nov 15, 2022 · TL;DR See CSRF with JavaScript Applications The issue here is that Angular (and your example code above) are using the XSRF-TOKEN cookie directly. Prior to Spring Security 6, this …

  7. CSRF token generation - Stack Overflow

    May 31, 2017 · CSRF token meant to prevent (unintentional) data modifications, which are usually applied with POST requests. Thus, you must include CSRF token for each request that changes data …

  8. Example of silently submitting a POST FORM (CSRF)

    Example of silently submitting a POST FORM (CSRF) Asked 12 years, 6 months ago Modified 7 years, 8 months ago Viewed 46k times

  9. Generate and validate CSRF token on java web application

    Oct 6, 2021 · I have asked to implement CSRF prevent attacking on java server application. It's an application that serves a lot of web REST API services. I looked at many guides and searched here …

  10. c# - how to create CSRF Token in .net8 - Stack Overflow

    May 7, 2024 · 0 If you want to generate CSRF token inside the minial-api ,I suggest you could follow below example: 1.Add Antiforgery service and enable it inside the program.cs: