Cross Site Request Forgery and AntiForgeryToken in Action (.NET Core 5)

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 11

  • @rotemziv5635
    @rotemziv5635 8 місяців тому

    Thanks!!! Couldn't understand my teacher while you explained it well!

  • @manjula.cgowda
    @manjula.cgowda 3 роки тому

    Excellent !! .In depth explanation of Antiforgery token options and why need to use

  • @leonardomakesthebestcontent
    @leonardomakesthebestcontent 2 роки тому +1

    that is some good content! thank you for explaining!

  • @DarshanaHashendra
    @DarshanaHashendra 2 роки тому +2

    Instead of MVC application, how this work in Webapi application which request comes from Angular FE?

    • @BGivo
      @BGivo Рік тому

      I have the exact same question. Did you ever find anything helpful on this subject?

    • @DarshanaHashendra
      @DarshanaHashendra Рік тому

      Not yet @@BGivo

  • @cdunsford
    @cdunsford 3 роки тому

    Very good video...thank you!

  • @jackblack9872
    @jackblack9872 2 роки тому

    i am following your udemy coarse that said to watch this, my question is, if we use
    builder.Services.AddControllersWithViews(options =>
    {
    options.Filters.Add(new AutoValidateAntiforgeryTokenAttribute());
    });
    we no longer have to worry about putting it on any controller classes or controller methods?

  • @pavithrar5248
    @pavithrar5248 11 місяців тому

    The token generated in admin page form field and cookie is different, how to resolve this?
    so on submitting the admin form, getting error.

  • @soumikmahajan6317
    @soumikmahajan6317 3 роки тому +1

    So in every HttpPost,I should include attribute [validateanti..] ??????