ASP.NET and IIS 6.0

  • Thread starter Thread starter Kevin Jackson
  • Start date Start date
K

Kevin Jackson

Does anyone know if the default username that ASP.NET pages run under on
Windows Server 2003 using IIS 6.0 is still ASPNET or is it different now?

It looks like they are being processed in the W3WP process now but I cannot
see which user context is used while executing an ASP.NET page.

Thanks
 
It's the NETWORK SERVICE account on IIS 6.0.



Juan T. Llibre
ASP.NET MVP
===========
 
Kevin Jackson said:
Does anyone know if the default username that ASP.NET pages run under on
Windows Server 2003 using IIS 6.0 is still ASPNET or is it different now?

It looks like they are being processed in the W3WP process now but I cannot
see which user context is used while executing an ASP.NET page.

It runs under the context of whatever Application Pool the site is set to.
Each App Pool can be configured with an identity. The default pool is set
to run as the "Network Service" account. The ASPNET account is not used
when the server is configured to run in the native IIS 6 mode and is only
used if you run in IIS 5 compatibility mode.
 
By default, I believe it's the Network Services account...and yes w3wp.exe
is the new worker process

Karl
 
Thanks for all your responses.

Been reading up on IIS 6.0 and it looks like Network Service (by default)
has no privileges to folders on local hard drives (which is good). I've
looked at the effective

Question 1

if this is the case, how does the ASP.NET subsystem read the aspx (and other
files) while processing web requests? Or is this low level stuff being done
under some other user account I'm not aware of.

Question 2

Users are uploading files and we need to store them somewhere. I know you
can give the correct privileges to the Network Service user to a local
folder so that we may store these files locally. Is it possible for Network
Service to copy files to a sharepoint (remote folder)? It appears it should
be possible if Network Service is given rights to the folder on the remote
computer. Of course this may not be best practice to allow Network Service
access to a sharepoint.

Thanks
 
Kevin Jackson said:
Thanks for all your responses.

Been reading up on IIS 6.0 and it looks like Network Service (by default)
has no privileges to folders on local hard drives (which is good). I've
looked at the effective

Question 1

if this is the case, how does the ASP.NET subsystem read the aspx (and other
files) while processing web requests? Or is this low level stuff being done
under some other user account I'm not aware of.

see http://support.microsoft.com/?kbid=317012
 
Thanks, great document.

How does all this apply to running ASP.NET on Windows Server 2003 under the
NETWORK SERVICE user? Is most of this still true?

Kevin
 
Back
Top