In the machine.config file, locate the <identity> element. The default setting for the <identity> element is:
<identity impersonate="false" userName="" password=""/>
If
you set the identity impersonation to true, but do not specify a user
name and password, then the worker process attempts to access files as
the IUSR_machinename account. Now, specify a user name and password in the <identity> element, such as
<identity impersonate="true" userName="myLocalUser" password="myUserPassword"/>
In
this setup, it is true that the ASP.NET worker process still runs as
system, but when the worker process tries to access files on the server
(either in the virtual directory, or in the Temporary ASP.NET Files
directory for just-in-time compilation), it does so as the user
specified in the <identity> element, not as the system user.
As a result, it's necessary to allow this user to access the following folder (otherwise you will get Access Denied errors) :
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Files
31-08-2007 om 13:47
geschreven door Reinout Waelput 
|