aspnet user

  • Thread starter Thread starter mrsh
  • Start date Start date
M

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
 
Hello mrsh,

Use impersonation
http://msdn.microsoft.com/library/d...-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
 
mrsh said:
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
 
Back
Top