I am deploying a website on IIS 7 that requires windows authentication (this is to be used on an intranet only). We would like the authentication to occur using the logged in user's Windows login without the user's input, i.e. when the user navigates to the site, we want to be able to authenticate against Active Directory to check if the logged in user is in a particluar group, but we don't want the pop-up asking for the username and password to appear.
I have most of it working, I just can't find a way to supress the windows authentication pop-up.
Is this even possible?
In IIS 7 I have set Windows Authentication to enabled, is there anything else I need to do?
In my Web.config I have:
<authentication mode="Windows" />
In my class I have:
If User.IsInRole("DOMAIN\GroupName") Then
Response.Write(User.Identity.Name.ToString & " Is in role")
Response.Write(User.Identity.Name.ToString & " Is NOT in role")
Any help is greatly appreciated!