Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core
  3. Security

Security

Apache-2.0C#1.0.5

Security and authorization middleware for ASP.NET Core web applications.

GitHubGitHub
1.3k stars581 forks0 contributors

What is Security?

ASP.NET Security is a middleware package for ASP.NET Core that provides authentication and authorization capabilities for web applications. It handles user identity verification and access control within the ASP.NET Core request pipeline, serving as the security foundation for web apps built on this framework.

Target Audience

ASP.NET Core developers building web applications that require user authentication, authorization, and security features.

Value Proposition

Developers choose ASP.NET Security because it's the official, integrated security solution for ASP.NET Core with seamless framework integration, modular middleware architecture, and strong community support through extension packages.

Overview

[Archived] Middleware for security and authorization of web apps. Project moved to https://github.com/aspnet/AspNetCore

Use Cases

Best For

  • Adding authentication to ASP.NET Core web applications
  • Implementing role-based or policy-based authorization
  • Securing ASP.NET Core API endpoints
  • Integrating third-party authentication providers
  • Building secure enterprise web applications with ASP.NET Core
  • Managing user access control in ASP.NET Core middleware pipelines

Not Ideal For

  • Projects requiring Basic Authentication middleware out-of-the-box
  • Standalone applications not built on ASP.NET Core
  • Teams seeking a lightweight, framework-agnostic security library
  • Legacy systems dependent on IIS-only Basic Authentication configurations

Pros & Cons

Pros

Official Framework Integration

Seamlessly integrates with ASP.NET Core's request pipeline, providing native authentication and authorization middleware as part of the core ecosystem, reducing setup complexity.

Modular Middleware Architecture

Follows ASP.NET Core's composable design, allowing developers to pick and choose security components like authentication and authorization as needed for flexible implementation.

Community Extension Support

Supports a wide range of community-developed authentication providers, as referenced in the documentation, enabling integration with third-party services like OAuth or SAML.

Enterprise-Grade Security Features

Designed for building secure enterprise web applications with role-based and policy-based authorization, ensuring robust access control within ASP.NET Core.

Cons

Archived Project Status

This GitHub repository is archived, with ongoing development moved to the AspNetCore repo, which may cause confusion for users tracking issues or contributions separately.

Missing Basic Authentication

Explicitly excludes Basic Authentication middleware due to security and performance concerns, forcing developers to rely on IIS configuration or external alternatives.

ASP.NET Core Dependency

Tightly coupled with the ASP.NET Core framework, making it unsuitable for projects using other technologies or those seeking portable, framework-agnostic solutions.

Frequently Asked Questions

Quick Stats

Stars1,285
Forks581
Contributors0
Open Issues0
Last commit7 years ago
CreatedSince 2014

Tags

#web-security#authentication#aspnet-product#authorization#dotnet#aspnet-core#access-control#web-framework#middleware

Built With

A
ASP.NET Core
.
.NET

Included in

Core21.2k
Auto-fetched 7 hours ago

Related Projects

Jwt.NetJwt.Net

Jwt.Net, a JWT (JSON Web Token) implementation for .NET

Stars2,186
Forks467
Last commit1 year ago
HtmlSanitizerHtmlSanitizer

Cleans HTML to avoid XSS attacks

Stars1,685
Forks224
Last commit1 day ago
jose-jwtjose-jwt

Ultimate Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and Json Web Keys (JWK) Implementation for .NET and .NET Core

Stars1,021
Forks192
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub