ASP.NET and IIS 6.0

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
 
J

Juan T. Llibre

It's the NETWORK SERVICE account on IIS 6.0.



Juan T. Llibre
ASP.NET MVP
===========
 
T

Tom Kaminski [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.
 
K

Karl Seguin

By default, I believe it's the Network Services account...and yes w3wp.exe
is the new worker process

Karl
 
K

Kevin Jackson

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
 
T

Tom Kaminski [MVP]

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
 
K

Kevin Jackson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top