# aspnet/Security

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

Repository: https://github.com/aspnet/Security
Canonical: https://ross.abutalabs.com/products/security
Language: C#
License: Apache-2.0
License Family: permissive
Topics: aspnet-product
Archived: true
Last push: 2018-11-22T00:05:53+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4556, "days_push": 2842, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1292, forks 580 (observed 2026-08-28T04:04:16.083210+00:00)

## What it is
The former home of security and authorization middleware for ASP.NET Core, including authentication handlers for cookies, OAuth, and social providers. The project has been archived and its code now lives in the aspnet/AspNetCore repository.

## Use cases
- add cookie authentication to an ASP.NET Core app
- integrate OAuth login with Google or Facebook in ASP.NET Core
- implement authorization policies in ASP.NET Core middleware
- secure ASP.NET Core web APIs with authentication middleware

## When to choose
- you are researching the history or original implementation of ASP.NET Core security middleware
- you maintain a legacy ASP.NET Core 2.x app pinned to these packages

## When to avoid
- you are starting a new ASP.NET Core project - use the security middleware in aspnet/AspNetCore instead
- you need bug fixes or new authentication features
- you need Basic Authentication support, which was intentionally excluded

## Facets
- artifact type: library
- maturity: abandoned
- function: auth, authorization, middleware, security
- domain: web-development, backend, security
- platform: dotnet, cross-platform
- tags: aspnet-core, authentication, oauth, archived, web-server

## Member repositories
- aspnet/Security (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:16.083210+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:54:43.615573+00:00, confidence not recorded.
  - readme: https://github.com/aspnet/Security (fetched 2026-08-28T04:04:16.083210+00:00, sha 7acd3a7f2a69)
- Data as of 2026-08-30T08:39:29.467469+00:00.
