Re: WebControls error in an application running under an impersonate identity

From: Alex Muntean (munteana@ewc.co.jp)
Date: 11/28/02


From: "Alex Muntean" <munteana@ewc.co.jp>
Date: Thu, 28 Nov 2002 09:45:44 +0900


Thank you for answering!

I know that your solution is working. I already tried it on my development
machine. But I don't want to run aspnet_wp.exe under the SYSTEM account
because this will expose the system to serious threats. In all MS
documentation I found the following two advices:
- Avoid running ASP.NET using the SYSTEM account.
- Avoid granting the account the “Act as part of the operating system”
privilege.

I can avoid the first one. I cannot the second since the ASP.NET account has
to impersonate a domain user, so it needs the “Act as part of the operating
system” privilege. Anyway, somehow it doesn't work. And I think I have to
give it some more rights... but where? :) Being part of the Users group has
Read and Execute rights on Assembly folder. But this seems to not be enough.

.a.