I think my question may be a duplicate, but I do not know what to search for.
I was use a functional name “password protect folder” in CPanel (php-apache linux) that when you enter a specific folder or file, you will see a prompt asking for username and password, if your account is in correct you will get a 401 status code returned.
Now I want this function in my asp.net mvc app, but I am not sure where to start. Does this functionality exist in MVC and IIS?
I think my question may be a duplicate, but I do not know what
Share
You would include an authentication & authorization sections in your web.config file.
ASP.NET Authentication