B
Brian Newtz
Hello everyone!
I recently read "ASP.NET Impersonation" from the .NET
Framework Developer's Guide
(http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpconaspnetimpersonation.asp) and it says
the following:
"Only application code is impersonated; compilation and
configuration are read as the process token. The result
of the compilation is put in the "Temporary ASP.NET
files" directory. The account that is being impersonated
needs to have read/write access to this directory."
So, this is basically telling me that every authenticated
user has to have access to my 'Temporary ASP.NET files'
directory in order to view the pages??? I've verified
that this is definitely not the case, as my 'Temporary
ASP.NET files' directory has only the following security
permissions(my computer name is BNEWTZ):
Administrators (BNEWTZ\Administrators)
aspnet ([email protected])
CREATOR OWNER
LOCAL SERVICE
NETWORK SERVICE
Power Users (BNEWTZ\Administrators)
SYSTEM
Users (BNEWTZ\Users)
With these permissions (which are the default, except
that I've added the domain aspnet account which I use in
the processmodel section of machine.config) any domain
user can get to the website just fine. So is the article
incorrect in that statement?
Thanks!
-Brian
I recently read "ASP.NET Impersonation" from the .NET
Framework Developer's Guide
(http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpconaspnetimpersonation.asp) and it says
the following:
"Only application code is impersonated; compilation and
configuration are read as the process token. The result
of the compilation is put in the "Temporary ASP.NET
files" directory. The account that is being impersonated
needs to have read/write access to this directory."
So, this is basically telling me that every authenticated
user has to have access to my 'Temporary ASP.NET files'
directory in order to view the pages??? I've verified
that this is definitely not the case, as my 'Temporary
ASP.NET files' directory has only the following security
permissions(my computer name is BNEWTZ):
Administrators (BNEWTZ\Administrators)
aspnet ([email protected])
CREATOR OWNER
LOCAL SERVICE
NETWORK SERVICE
Power Users (BNEWTZ\Administrators)
SYSTEM
Users (BNEWTZ\Users)
With these permissions (which are the default, except
that I've added the domain aspnet account which I use in
the processmodel section of machine.config) any domain
user can get to the website just fine. So is the article
incorrect in that statement?
Thanks!
-Brian