Skip to content

GreenBett/secure-aspnet-apps-final

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When it comes to securing ASP.NET applications, or any application in general, authentication and authorization play key roles. Authentication is the process of verifying a user’s identity. It checks if the user credentials are correct or not. Authorization, on the other hand, is the process of verifying a user’s roles.

This video provides an overview of token-based authentication, contrasting it with cookie-based methods. Learn how tokens and refresh tokens function, why token-based systems offer enhanced security with shorter expiration times, and the process of generating new tokens. Perfect for understanding secure data access in web applications.

You will learn:

✅ Authentication vs Authorization

✅ Cookie-based vs Token-based authentication

✅ Adding Identity tables using Entity Framework Core

✅ Configuring JWT in Startup.cs

✅ Setting up Authentication controller

✅ Registering a new user

✅ Generating access and a refresh token

✅ Logging in users

✅ Authenticating and authorizing users

✅ Generating a new access token using a refresh token

✅ Role-based authorization

About

This is the final version of the source code for "Securing Asp.Net Applications" course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages