site image
Andrew Lock avatar

Andrew Lock

Security
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  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 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.…

  5. 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 CoreSecurityCSRF
  6. 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 CoreSecurity
  7. 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 CoreAuthSecurity
  8. Banner image for Modifying the UI based on user authorisation in ASP.NET Core

    Modifying the UI based on user authorisation in ASP.NET Core

    In this post I show how to modify the UI you present based on the authorisation level of the current user, to hide links the user is not allowed to access.…

     in  ASP.NET CoreSecurityAuthFront End
  9. Banner image for Custom authorisation policies and requirements in ASP.NET Core

    Custom authorisation policies and requirements in ASP.NET Core

    In this post on authorisation in ASP.NET Core, we look at creating policies with multiple requirements, custom requirements and applying a global policy.…

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