Top 20 NuGet Security Packages

Library of base Windows Form and WPF Window extensions and dialogs, including those needed for implementing role-based security inside a Windows application.
ASP.NET Core Identity Integration for IdentityServer4
Adds additional OAuth providers for OWIN to use with ASP.NET
OpenID Connect extensions for the OpenID Connect server middleware.
ADAL.NET enables you to acquire a security token to access protected Web APIs, for instance Microsoft Graph or your own Web API. ADAL.NET is a .NET Standard class library which you can consume on various .NET client platforms (including Windows desktop, UWP, Windows 8.1, Xamarin iOS and Xamarin Andr...
Cleans HTML from constructs that can be used for cross site scripting (XSS)
This package contains the runtime assemblies for ASP.NET Web Pages. ASP.NET Web Pages and the new Razor syntax provide a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content.
OAuth2 validation middleware for ASP.NET Core.
OpenID Connect primitives for the OpenID Connect server middleware.
OpenIddict's core components, used to manage the applications, authorizations, scopes and tokens stored in the database.
NWebsec is an easy to use security library for ASP.NET applications. With a few lines of config it lets you set important security headers, detect potentially dangerous redirects, control cache headers, and remove version headers. See project website for documentation.
This library provides shared functionality for the NWebsec ASP.NET Core security libraries.
NWebsec middleware for ASP.NET Core applications. NWebsec helps you set important security headers and detect potentially dangerous redirects. See project website for documentation.
Package Description
Enable SAML v2.0 SSO for identity provider (IdP) and service provider (SP) ASP.NET Core applications. Includes SAML authentication middleware support. Example ASP.NET Core projects are available that demonstrate the simple to use SAML API and accompanying SAML configuration. Comprehensive document...
Crypteron Security Framework Core Library for CipherDB, CipherStor, CipherObject and other products.
Easy-to-use OpenID Connect server for ASP.NET Core.
Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption.
NWebsec attributes for ASP.NET MVC 5 applications. NWebsec helps you set important security headers, detect potentially dangerous redirects, control cache headers, and remove version headers. See project website for documentation.
This library provides shared functionality for the NWebsec ASP.NET security libraries.