Join our book community on Discord
https://packt.link/EarlyAccess/
Most public websites have pages that should be public to everyone anonymously, and some pages that should only be accessed by known users with the appropriate permission.
This chapter is about authentication and authorization and how to implement them for an ASP.NET Core MVC website project. This means how to provide web user interface for a visitor to register an account with a password, and how they can log in to access secure areas of the website.
In Chapter 9, Building Web Services Using ASP.NET Core Web API, you will learn how to implement authentication and authorization for ASP.NET Core Web API web service projects. This means learning how to provide endpoints to request authentication tokens to then enable calls to secure endpoints of a web service.
Authentication and authorization are important for any website because they ensure that only legitimate users can access the system and that each user has the appropriate...