Re: Service Account replaced by IUSR ??
- From: "Erwin@ODS" <erwin@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Jun 2007 17:37:18 +0200
Joe Kaplan wrote:
It looks like the IIS anonymous user is being impersonated for some reason here. That should be the only reason why that user would get used at all. Can you see any reason how that might have happened? Is anonymous enabled in the application at all?Hi Joe,
Out of curiosity, why are you enabling for delegation if you don't plan to delegate? Based on what I read below, it sounds like you just want to use the fixed process account for accessing remote resources, so delegation should not matter. As such, you should also able to avoid impersonation as well since you would generally only impersonate if you need to delegate or access local resources with the security context of the authenticated user.
Joe K.
(First off, I'm a *big* fan of your book about AD !)
Well, to get to the matter at hand, I'm quite sure that anonymous access is disabled. In fact, I did a check with the System.Security.Principal.WindowsIdentity.GetCurrent() and sure enough the application runs under the service account.
The only thing that is a bit different is that I'm running the application with a different port number (192.168.1.2:8080), but that should not affect the security, should it ?
As for the "trust account for delegation" option is concerned, I thought you had to enable this, based on this text fragment in the article I referred to :
"By using impersonation, ASP.NET applications can execute code or access resources with the identity of the authenticated user or a fixed Windows identity. Standard impersonate-level impersonation tokens that are usually created when you enable impersonation allow you to access local resources only. To be able to access remote network resources, you require a delegate-level token. To generate a delegate-level token when you impersonate, you need to use Kerberos authentication and your process account needs to be marked as trusted for delegation in Active Directory. "
But now that I read it again, I see your point. Anyway, it doesn't work either with or without this option checked, so I'll uncheck it. I like clean settings.
Erwin
.
- Follow-Ups:
- Re: Service Account replaced by IUSR ??
- From: Joe Kaplan
- Re: Service Account replaced by IUSR ??
- References:
- Service Account replaced by IUSR ??
- From: Erwin@ODS
- Re: Service Account replaced by IUSR ??
- From: Joe Kaplan
- Service Account replaced by IUSR ??
- Prev by Date: Re: Service Account replaced by IUSR ??
- Next by Date: Re: Service Account replaced by IUSR ??
- Previous by thread: Re: Service Account replaced by IUSR ??
- Next by thread: Re: Service Account replaced by IUSR ??
- Index(es):
Relevant Pages
|
|