Re: Enterprise Services Identity
From: Ed leNoir (edleno@safeco.com)
Date: 11/01/02
- Next message: Ed leNoir: "Re: How to get UserName / NetBios machine name using FORMS authentication"
- Previous message: Ed leNoir: "Re: Process Identity"
- In reply to: skippark: "Enterprise Services Identity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Ed leNoir" <edleno@safeco.com> Date: Thu, 31 Oct 2002 19:00:36 -0800
You just don't have something configured correctly. I've done the same and
it works as advertised. Only the classes and functions that are actually in
the package will run under the COM+ account, code in your aspx pages still
run under the aspnet worker process. All calls have to be to "remote"
components that run in the COM+ package. The remoting is invisible to you
once you've got it all set up. Usually database and network accesses are
put into classes that are derived from ServicedComponent and run in the COM+
package.
I haven't seen a trick yet where you run the entire aspnet application under
COM+, but I haven't looked either. Usually you only want to run with the
extra security when making external calls, otherwise run under the nicely
underprivelaged aspnet account.
- Ed
"skippark" <skippark@hotmail.com> wrote in message
news:71d401c28073$9d249550$35ef2ecf@TKMSFTNGXA11...
> Enterprise Services Identity
> I have a .NET COM+ data object that has been created to
> take advantage of the ability to run under a specific user
> identity. The use of Trusted Connections with sql server
> is a necessity due to coroporate security policy. The
> problem is when I run my .Net in COM+ it always runs with
> ASPNET identity instead of a domain account I specified in
> COM+ service. Any thoughts?
>
> Thanks.
>
- Next message: Ed leNoir: "Re: How to get UserName / NetBios machine name using FORMS authentication"
- Previous message: Ed leNoir: "Re: Process Identity"
- In reply to: skippark: "Enterprise Services Identity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|