site image
Andrew Lock avatar

Andrew Lock

Security
  1. Loading...
  2. Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!

    From Zero to Hero: REST APIs in .NET
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Creating and trusting a self-signed certificate on Linux for use in Kestrel and ASP.NET Core

    Creating and trusting a self-signed certificate on Linux for use in Kestrel and ASP.NET Core

    In this post I show how to create a self-signed certificate on Linux. I show how you can trust the certificate, and how to configure Kestrel to use it.…

     in  ASP.NET Core ASP.NET Core 2.0 Security
  5. Banner image for Creating a validator to check for common passwords in ASP.NET Core Identity

    Creating a validator to check for common passwords in ASP.NET Core Identity

    In this post, I introduce a package for ASP.NET Core Identity that lets you validate a user hasn't used one of the most common 100,000 passwords.…

  6. Banner image for Creating custom password validators for ASP.NET Core Identity

    Creating custom password validators for ASP.NET Core Identity

    In this post, I describe the password validation settings for ASP.NET Core Identity, how to customise them, and how to write a custom password validator.…

  7. Banner image for Automatically validating anti-forgery tokens in ASP.NET Core with the AutoValidateAntiforgeryTokenAttribute

    Automatically validating anti-forgery tokens in ASP.NET Core with the AutoValidateAntiforgeryTokenAttribute

    This post shows how to apply the AutoValidateAntiforgeryTokenAttribute globally to automatically protect all dangerous action methods from CSRF attacks.…

     in  ASP.NET Core Security CSRF
  8. Banner image for Preventing mass assignment or over posting in ASP.NET Core

    Preventing mass assignment or over posting in ASP.NET Core

    Mass assignment or over-posting is something to bear in mind when building ASP.NET Core applications. In this post, I discuss some of the ways to stay safe.…

     in  ASP.NET Core Security
  9. Banner image for Resource-based authorisation in ASP.NET Core

    Resource-based authorisation in ASP.NET Core

    In this next post on authorisation in ASP.NET Core I show how you can secure resources based on properties of the resource itself…

     in  ASP.NET Core Auth Security
Andrew Lock | .Net Escapades
Want an email when
there's new posts?