0

I need some help to start a MVC project.

Is there any way to authenticate an Active Directory user on an intranet MVC page using Windows Identity tables to manage role authorization?

Any guide would be helpful, thanks.

labdev
  • 17
  • 2
  • Hi, welcome to StackOverflow! Your question is too broad, please show what you've tried and any code you have to illustrate a specific issue that you need help with. Asking for general guidance is difficult if we don't know what you've tried and what you're specifically having trouble with. Questions should show some effort towards actually solving the problem. – pcdev May 16 '19 at 23:03

1 Answers1

0

Maybe I don't understand the problem right but ASP MVC and IIS supports windows domain authentication with NTLM or Kerberos options. So you can login to your intranet website using your domain account.

Refer this topic: Windows Authentication for ASP.NET MVC 4 - how it works, how to test it

Sergey M
  • 169
  • 5
  • My doubt, once authenticated against the domain it is possible to manage the roles through a database, as do the projects with individual user accounts? – labdev May 16 '19 at 21:26
  • @labdev now I got your problem. Please, take a look on this thread https://stackoverflow.com/questions/32888418/how-to-use-roles-with-integrated-windows-authentication – Sergey M May 16 '19 at 21:33