Security in ASP.NET Core 2.1
summary
ASP.NET Core 2.1 turns on HTTPS by default and adds a dotnet dev-certs tool, Kestrel supports SNI and certificate selection/rotation, and HSTS is enabled with stepwise max-age guidance; cookie authentication and data protection use key rings with configurable stores (Azure Blob, SQL, Redis) and automatic rotation; policy-based authorization uses requirement handlers and DI; a prototype IdentityServer embedded flow issues JWTs to SPA/local storage and calls APIs, with full IdentityServer integration planned shortly after 2.1.
AI-written summary · about
chapters (29)
- 0:00Intro
- 1:37Kestrel security HTTPS by default
- 4:07Certificate Config
- 4:38SNI certification selection
- 5:12Kestrel Security Configuration
- 7:02HSTS caveats
- 12:59Authentication Options in ASPNET Core Template Support
- 14:28Individual User Accounts v2.1 Local Database
- 15:32Template Authentication Individual User Accounts
- 17:08ASPNET Core Authentication No more custom identity classes
- 18:27ASPNET Core 20 Changes Authentication is now a single service
- 21:42Do it yourself Cookie Authentication
- 22:42Configuring cookie middleware
- 24:55Implementing a validator
- 25:16Authentication forwarding
- 28:06Virtual Schemes
- 28:56API Authentication The missing link
- 39:01Data Protection One stop shop for encryption
- 43:16Using Data Protection
- 44:24Purpose Strings Their purpose
- 45:31Configuring Data Protection Configuration Points
- 46:15Implementing a key store IXmlRepository
- 46:32Authorization Goal
- 54:16Policies, Requirements & Handlers
- 55:41Imperative Checks Evaluate your policies in code
- 56:05Things to remember Register your handlers in DI
- 56:26Resource Based Authorization Acting on a resource or model
- 56:51Resource Authorization Handlers
- 58:10Identity Features Packaged Uls
related talks
40mSecurity in ASP.NET Core 2.1
58mSecurity in ASP.NET Core 2.0
01h 01mSecurity in ASP.NET Core 2.0
01h 03mSecuring Web Applications and APIs with ASP.NET Core 2.2 and 3.0
52mSecuring Web Applications and APIs with ASP.NET Core 2.2 and 3.0
53mSecuring Web Applications and APIs with ASP.NET Core 2.2 and 3.0
01h 01mSecuring Web Applications and APIs with ASP.NET Core 2.2 and 3.0
54mSecuring Web Applications and APIs with ASP.NET Core 2.2 and 3.0
