Single sign On on VPN
-
I have an intranet web based applicaion(ASP.NET 2.0) for HR and employees called TRS. There is a single sign on,i.e. your email id windows id and TRS id are made same at the time of creation. The users cliclks on a link and the foloowing method is done to sign him in: 1.I Pick up his windows id 2.Check for the same ID in TRS Database as ID's are same. 3.If found log him in and show the default welcome screen. This worked fine as long as the application was on intranet. But now IT has provided Aventail VPN log in from where users access their email i.e. Outlook webmail and TRS also. The problem lies here, When you authenticate and enter the VPN session you can access all other application and Outlook. When TRS is clicked a dialog box opens for user name and password in which you have to provide your windows user name id and password for your company. Then if the credentails are correct you are shown the welcome page. The problem is that the dialog box is not required. Can anyone guide me as to how to do this i.e pick the user name from which the user logged inside VPN Outlook opens directly once you enter the VPN session. In the same way the site should get opened once authenticated to VPN and another dialog box for user name and password should not come. Thanks in advance. The authentication I currently use is windows authentication. The code to fetch user name is: Dim usernames() As String userName = Request.ServerVariables("AUTH_USER") The web config file is : <authentication mode="Windows"/> <identity impersonate="false"/> <authorization> <deny users="?"/> </authorization>