Author: Pyrrhonist | Posted on: 6/1/2009 8:46:31 AM | Views : 901

Long winded ?What I'm trying to do' coming up...but here goes...
I am re-designing an old .Net 1.1 application on my companies Intranet.   The application allows ?automatic' login for users who have logged into our internal network, and for users accessing the application through their VPN, they are redirected to a login page. 
In order to allow the VPN users to access the site, I've configured the root of the site to allow anonymous.  For those users who are within the domain, I redirect them to a sub-folder of the site which has Windows Integrated security enabled.  I am able to determine, based on IP range, which users are which.  Based on the Identity of the user accessing the site, or the username / password of the VPN user, I apply appropriate roles / memberships.  I store the logged in UserName and their role in Session (Session["UserName"] && Session["Role"]) This setup works flaw ...

Go to the complete details ...