Home All Groups Group Topic Archive Search About
Author
29 Jul 2006 8:22 PM
mrsh
as we know The .NET Framework runs all ASP.NET processes under the local
ASPNET
account.
is there anyw ay that I can change the user and instead of a local user use
a Domain user ?
thnx
Mahmoudreza

Author
29 Jul 2006 8:51 PM
Michael Nemtsev
Hello mrsh,

Use impersonation
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetimpersonation.asp

m> as we know The .NET Framework runs all ASP.NET processes under the
m> local
m> ASPNET
m> account.
m> is there anyw ay that I can change the user and instead of a local
m> user use
m> a Domain user ?
m> thnx
m> Mahmoudreza
---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Author
29 Jul 2006 11:35 PM
Carl Daniel [VC++ MVP]
mrsh wrote:
> as we know The .NET Framework runs all ASP.NET processes under the
> local ASPNET
> account.
> is there anyw ay that I can change the user and instead of a local
> user use a Domain user ?

If you're running on Windows 2000, you can specify a different set of
credentials in machine.config.

If you're on Windows 2003, you can create a new ApplicationPool in IIS that
uses credentials of your choice and assign your ASP.NET website to that
ApplicationPool.  Be sure to grant the user membership in the local IIS_WPG
group on the server machine.

-cd

AddThis Social Bookmark Button