Access control C #

0

I have 3 applications in ASP.NET MVC 5, when logging in application 1 it opens a page with links to the other 2 applications how do I create a single session for the user and prevent it from copying the url and passing it to a colleague for example, and colleague access the application without login

    
asked by anonymous 07.11.2017 / 13:42

1 answer

0

You can use the tag in web config:

link

Then just decorate your controller with [Authorize], give a search on how to use AuthorizeAttribute that you will understand better:

link

    
07.11.2017 / 13:59