DCOM calls fails - access denied
From: Stefu (stefanroth@hotmail.com)
Date: 11/14/02
- Next message: iiuga: "Re: DCOM calls fails - access denied"
- Previous message: iiuga: "'A required privilege is not held by the client. '"
- Next in thread: iiuga: "Re: DCOM calls fails - access denied"
- Reply: iiuga: "Re: DCOM calls fails - access denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Stefu" <stefanroth@hotmail.com> Date: Thu, 14 Nov 2002 14:21:51 +0100
Hi
I'm a little bit confused by the security features of ASP.NET. In my web
application I have to call several DCOM Servers located on a remote server.
Since not all users have a domain account, I had the idea to allow only
anonymous access on my site. The users will be authenticated by a custom
form and a database. In order to have access rights to call the DCOM servers
I changed the default account for the web site to a domain user. In the
web.config file I changed the identity tag to <idenity impersonate="true"
/>. As I saw in a microsoft .NET Security Guidance, this should lead to a
impersonated call (identity = configured domain user). But all calls fail -
access denied. Only if the processModel tag in machine.config is chnaged to
userName="domain\user" password="password" the call works. But this isn't
exactly the configuration I'm looking for. I do not want to run the worker
process under a domain account with extended privileges. Is this possible?
What else is necessary?
Summary
The following configuration is WORKING
ASP.NET
web.config
...
<identity impersonate="true" />
...
machine.config
...
<processModel ... userName="domain\username" password="password" ... />
IIS
only anonymous access
dafeault account for my site changed to domain\username
DCOM
Authentication Level = None
Identity = specific account
Secruity = access and launch permissions restricted
--------------------------------------------------
This configuration does NOT WORK
ASP.NET
web.config
...
<identity impersonate="true" />
...
machine.config
...
<processModel ... userName="SYSTEM" password="AutoGenerate" ... />
<---- different
IIS
only anonymous access
dafeault account for my site changed to domain\username
DCOM
Authentication Level = None
Identity = specific account
Secruity = access and launch permissions restricted
Thanks in advance Steve
- Next message: iiuga: "Re: DCOM calls fails - access denied"
- Previous message: iiuga: "'A required privilege is not held by the client. '"
- Next in thread: iiuga: "Re: DCOM calls fails - access denied"
- Reply: iiuga: "Re: DCOM calls fails - access denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|