Gaining access with identity impersonation on and windows authentication on
Hi,
I was wondering if anybody has had any experience with allowing anonymous access to a website, or virtual directory, and getting the application to assume the identity of a windows user, with identity impersonation on and windows authentication on.
Any articles or experience would be great.
thanks,
Rodney
Re: Gaining access with identity impersonation on and windows authentication on
I think that you can control that from the web project's web.config file - there's an authentication section in there. I've used impersonation on the web.config level without any problems. I'm not sure if it would work in conjunction with Win authentication set from IIS, but I don't see why it shouldn't.
Re: Gaining access with identity impersonation on and windows authentication on
I have been using the same thing in my apps, but what exactly are you looking for? I ask this because impersonating the user is as simple as one or two lines of code.