all groups > iis security > march 2007 >
You're in the

iis security

group:

Authentication Problem


Authentication Problem John Harte
3/16/2007 9:28:00 AM
iis security:
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
Re: Authentication Problem Ken Schaefer
3/16/2007 12:49:25 PM
You can use <identity> 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 <identity> tag in .NET
Framework SDK

Cheers
Ken


[quoted text, click to view]
AddThis Social Bookmark Button