Re: Service Account replaced by IUSR ??
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Jun 2007 10:41:49 -0500
Hm, I can't think of a reason why the IUSR account would get used here then.
If you are definitely not impersonating (which it looks like you are not)
and don't have anonymous checked anyway, then the remote access to the file
share should use the process account.
There must be something else going on that is creating the issue, but I
don't know what it is.
Can you show the code you are using for accessing the file share? That
might be helpful.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"> Hi Joe,
(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: Erwin@ODS
- Re: Service Account replaced by IUSR ??
- References:
- Service Account replaced by IUSR ??
- From: Erwin@ODS
- Re: Service Account replaced by IUSR ??
- From: Joe Kaplan
- Re: Service Account replaced by IUSR ??
- From: Erwin@ODS
- 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
|
Loading