Tag: Security
All the articles with the tag "Security".
- Duende IdentityServer: what it is and when you need it Duende IdentityServer is an OAuth 2.0 and OpenID Connect SDK for ASP.NET Core. What it does, how it differs from ASP.NET Core Identity, and when to skip it.
- UTCP vs MCP: what happens to agent auth without a server in the middle? What MCP authorization looks like when AI agents call APIs directly, and whether agent auth still needs DCR or CIMD.
- ValidateAntiForgeryToken in ASP.NET Core: unit test for it How to validate an anti forgery token in ASP.NET Core with [ValidateAntiForgeryToken], and unit test that every POST action has it, plus Rider navigation.
- Device Bound Session Credentials in ASP.NET Core Device Bound Session Credentials tie a session cookie to a private key on the device, so stolen cookies go stale. How DBSC works, and why .NET 11 dropped it.
- Using ASP.NET Core Passkeys for Second Factor Authentication Use passkeys as a second factor after password login in ASP.NET Core Identity on .NET 10, with a 2FA token provider and two endpoints to create and verify.
- Building a Supply Chain Attack with .NET and NuGet A story of building a supply chain attack with .NET and NuGet: package name spoofing, module initializers, source generators and MSBuild targets, and how to defend.
- Building a supply chain attack with .NET, NuGet, DNS, source generators, and more!
- Tracking down action methods that need ValidateAntiForgeryToken using Structural Search and Replace
- Help, I've inherited an ASP.NET MVC Core code base with no Cross-Site Request Forgery (CSRF) measures!
- What happened to Code Spaces could happen to you. On Amazon, Azure and any host out there.