Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Forms Authentication and Authorization

$
0
0

Hi,

Just started working on .net core. I have created a project using .net core. Now I want to implement forms authentication. So looking for any inputs of how to integrate forms authentication in .net core. In our previous asp.net mvc application we used to do asp.net identity. Does the same applies here or if authentication is different here. We want to have a login page where the user enters there Active directory user name and password.

Now on Authorization, once the user is successfully authenticated above we have about certain users that have admin access vs some which have read only. We have table having username and permission against it. On successful authentication I want to check my sql table whether they have appropriate role to access certain functionality on our site or not. I can do so by creating an attribute and have it placed over the controller. But what if I need it on granular level like dropdown, restricting delete on a grid, hiding some functionality. What is the best way to approach this. .net Core, MVC, C#, Sql Server

Thanks


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>