Solution Review: Restricting Write Requests
Explore how to restrict write operations in ASP.NET Core Web API by applying authorization and authentication through JWTs and SSO. Understand the configuration of authority settings, use of [Authorize] and [AllowAnonymous] attributes, and how to handle access tokens to secure the Add method. This lesson guides you through a practical solution to enforce security while managing user access effectively.
We'll cover the following...
We'll cover the following...
Overview
The ...
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}The final setup with the secured POST endpoint
...