Authentication Problem

Authentication Problem

am 16.03.2007 17:28:00 von JohnHarte

Hi

My problem is I have a website where I need to use windows authentication
and the impersonate a user.

My problem is the only way my website can recognize this impersonation is if
enable anonymous access is not selected in IIS. But if this is not enabled
anytime the website is loaded not on my domain is prompts the user right away
for login credentials.

Is there a way to have enable anonymous access on and impersonate a user in
y web.config file

Any help would be appreciated
John

Re: Authentication Problem

am 16.03.2007 20:49:25 von Ken Schaefer

You can use tag to enable impersonation for a specific user
account. As as you don't require authentication, users will not be prompted
for credentials (provided that the impersonated user account has permissions
to everything the webpage wants to do). Look up tag in .NET
Framework SDK

Cheers
Ken


"John Harte" wrote in message
news:8392AE2C-3F45-41D0-B544-806294BE830C@microsoft.com...
> Hi
>
> My problem is I have a website where I need to use windows authentication
> and the impersonate a user.
>
> My problem is the only way my website can recognize this impersonation is
> if
> enable anonymous access is not selected in IIS. But if this is not enabled
> anytime the website is loaded not on my domain is prompts the user right
> away
> for login credentials.
>
> Is there a way to have enable anonymous access on and impersonate a user
> in
> y web.config file
>
> Any help would be appreciated
> John