IIS Server Security - Authentication Problem

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > March 2007 > Authentication Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Authentication Problem
John Harte

2007-03-16, 1:18 pm

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
Ken Schaefer

2007-03-16, 7:20 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


"John Harte" <JohnHarte@discussions.microsoft.com> 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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com