Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ASP.NET Core Security: Harden and Audit Web Apps & APIs
New
Rating: 1.5 out of 5(1 rating)
4 students

ASP.NET Core Security: Harden and Audit Web Apps & APIs

Use ASP.NET Core Identity, JWT, OWASP Top 10, and STRIDE to secure .NET web apps, verify fixes, and review releases.
Last updated 12/2026
English

What you'll learn

  • Map an ASP.NET Core application’s security surface and relate common risks to the OWASP Top 10:2025.
  • Enforce server-side validation, file upload checks, business rules, and rate limits.
  • Set up ASP.NET Core Identity and harden sign-in, cookies, and account recovery.
  • Authorize access with roles, claims, and policies, and validate JWT bearer tokens in a Web API.
  • Choose between Data Protection, password hashing, integrity verification, and encryption.
  • Build a threat model with data flows, trust boundaries, and STRIDE, then write testable security requirements.
  • Review ASP.NET Core code and configuration, prioritize findings, and document the evidence needed for a release decision.

Course content

8 sections • 67 lectures • 5h 46m total length
  • Introduction1:05

Requirements

  • Comfortable reading and writing C# and working with a basic ASP.NET Core MVC or Web API project.
  • Familiar with HTTP requests, responses, and basic web application concepts.
  • Able to run a local project using a C#-capable IDE, the SDK listed in the setup lesson, and the supplied starter code.
  • Application security experience is optional.

Description

This course contains the use of artificial intelligence.


Secure ASP.NET Core Web Apps and APIs From Design to Release

An ASP.NET Core application can accept a valid request and still make the wrong security decision. A signed-in user might see a record they should never access, or an upload might end up somewhere the application cannot protect. This hands-on security workshop shows C# developers how to recognize those gaps, choose the right controls, and verify what the controls actually do.

Start by mapping the security surface of an ASP.NET Core application and using the OWASP Top 10:2025 to connect common web risks to the parts of your code and configuration that matter. Then follow demonstrations for server-side validation in MVC and Web APIs, safe data handling, file upload checks, business rules, and rate limiting. Work with ASP.NET Core Identity, authentication cookies and sessions, roles, claims, policy-based authorization, and JWT bearer authentication for APIs.

Learn when to use ASP.NET Core Data Protection, password hashing, integrity checks, and encryption, and how to distinguish application secrets from the keys used to protect data. In the threat modeling section, map assets, data flows, and trust boundaries, use STRIDE to identify risks, and turn findings into security requirements your team can verify.

Finish by reviewing an ASP.NET Core demo application. Build a checklist, inspect the code and configuration, corroborate AI-assisted review suggestions, prioritize remediation, and document the evidence you need to make a release decision. You’ll finish with a workflow you can reuse when designing a feature, reviewing a pull request, or preparing an application for release.

This course is for developers who already know C# and can navigate a basic ASP.NET Core project. The workshop combines concise explanations with code walkthroughs and application reviews.

What you’ll learn

  • Map an ASP.NET Core application’s security surface and relate common risks to the OWASP Top 10:2025.

  • Enforce server-side validation, file upload checks, business rules, and rate limits.

  • Set up ASP.NET Core Identity and harden sign-in, cookies, and account recovery.

  • Authorize access with roles, claims, and policies, and validate JWT bearer tokens in a Web API.

  • Choose between Data Protection, password hashing, integrity verification, and encryption.

  • Build a threat model with data flows, trust boundaries, and STRIDE, then write testable security requirements.

  • Review ASP.NET Core code and configuration, prioritize findings, and document the evidence needed for a release decision.

Requirements

  • Comfortable reading and writing C# and working with a basic ASP.NET Core MVC or Web API project.

  • Familiar with HTTP requests, responses, and basic web application concepts.

  • Able to run a local project using a C#-capable IDE, the SDK listed in the setup lesson, and the supplied starter code.

  • Application security experience is optional.

Who this course is for

  • C# and ASP.NET Core developers responsible for building or maintaining web applications and APIs.

  • Backend and full-stack .NET developers who need to secure sign-in, permissions, uploads, or sensitive data.

  • .NET team leads and code reviewers who want a repeatable workflow for threat modeling, security reviews, and release decisions.


Who this course is for:

  • C# and ASP.NET Core developers responsible for building or maintaining web applications and APIs.
  • Backend and full-stack .NET developers who need to secure sign-in, permissions, uploads, or sensitive data.
  • .NET team leads and code reviewers who want a repeatable workflow for threat modeling, security reviews, and release decisions.