~/talk

Security in ASP.NET Core 2.1

Talkat NDC Sydney 2018 · 2018-09-17..09-21· [security]
slides:none on file

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

  1. 0:00Intro
  2. 1:37Kestrel security HTTPS by default
  3. 4:07Certificate Config
  4. 4:38SNI certification selection
  5. 5:12Kestrel Security Configuration
  6. 7:02HSTS caveats
  7. 12:59Authentication Options in ASPNET Core Template Support
  8. 14:28Individual User Accounts v2.1 Local Database
  9. 15:32Template Authentication Individual User Accounts
  10. 17:08ASPNET Core Authentication No more custom identity classes
  11. 18:27ASPNET Core 20 Changes Authentication is now a single service
  12. 21:42Do it yourself Cookie Authentication
  13. 22:42Configuring cookie middleware
  14. 24:55Implementing a validator
  15. 25:16Authentication forwarding
  16. 28:06Virtual Schemes
  17. 28:56API Authentication The missing link
  18. 39:01Data Protection One stop shop for encryption
  19. 43:16Using Data Protection
  20. 44:24Purpose Strings Their purpose
  21. 45:31Configuring Data Protection Configuration Points
  22. 46:15Implementing a key store IXmlRepository
  23. 46:32Authorization Goal
  24. 54:16Policies, Requirements & Handlers
  25. 55:41Imperative Checks Evaluate your policies in code
  26. 56:05Things to remember Register your handlers in DI
  27. 56:26Resource Based Authorization Acting on a resource or model
  28. 56:51Resource Authorization Handlers
  29. 58:10Identity Features Packaged Uls
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.