ASP.Net Core best suits all developers to configure and manage security for their applications.
It Contains features as such.
1).Authentication.
2).Authorization .
3).Data protection .
4).SSL enformacent and all CORS management .
-
Authentication
Authentication is a Process by which a user provides all credentials these credentials are verifid from Operating system or database.
If these Credentials are accepted by Source It is been redirected to other Page.
If Any of these Credentials are not Verified then user will be unable to Login to any of the pages.
-
Authorization
It is a Second stage after Authenticstion .
If a user has successfully passed Authentication then user has an right to Authorize any file from an Application.
-
Data protection
Each and Every Web Application often need to store and provide a secure and sensitive data..
Each Windows provide an Desktop applications which are unsuitable for web Applications.
ASP.Net Core provides a data protection stack provides with simple cryptographic API which is used to protect data.
-
SSL enformacent and all CORS management
SSL Mainly Requires all HTTPS requests only.
It Mainly Redirect all HTTP requests HTTPs.
The RequireHttpsAttribute is require SSL
public void ConfigureServices(IServiceCollection services)
{
services.ConfigureMVCOptions
(Options =>)options.Filters.Add(new RequireHttpsAttribute());
});