Last post Feb 01, 2015 02:54 AM by Careed
Jan 31, 2015 07:54 PM|Selvakumar Ramachandran|LINK
I am creating a web application for my organization. As per the requirement the website need to accessed from internet or intranet and it should allow only domain/active directory users . If the application is accessing from intranet then it should not prompt
for user credential else it prompt for user credentials.
Can anyone help me to implement this?
I am using asp.net MVC 5 and created web application using internet template.
Feb 01, 2015 02:54 AM|Careed|LINK
Try creating another MVC 5 project with the Internet template; however, change the authentication method to Windows Authentication.
One thing to note: The web server will not be able to distinguish between intranet and Internet users if you are using only one domain name. You will need to have to two different domains.