An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks.
Info
Version: | 2.3.0 |
Author(s): | Microsoft |
Last Update: | Tuesday, January 14, 2025 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://asp.net/ |
NuGet Url: | https://www.nuget.org/packages/Microsoft.AspNetCore.Antiforgery |
Install
Install-Package Microsoft.AspNetCore.Antiforgery
dotnet add package Microsoft.AspNetCore.Antiforgery
paket add Microsoft.AspNetCore.Antiforgery
Microsoft.AspNetCore.Antiforgery Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.DataProtection(>= 2.2.0)
- Microsoft.AspNetCore.Http.Abstractions(>= 2.2.0)
- Microsoft.AspNetCore.Http.Extensions(>= 2.2.0)
- Microsoft.AspNetCore.WebUtilities(>= 2.2.0)
- Microsoft.Extensions.ObjectPool(>= 2.2.0)
Tags