The following table shows ASP. NET web applications.ProgramTo identify the type of files and folders that must be assigned permissions. Some permissions are only required by the account for running ASP. NET processes, while other permissions are required by any simulated account.
| Location |
Access type |
Account |
Note |
|
% SystemRoot % \ Microsoft. NET \ framework \Versionnumber\ Temporary ASP. NET files |
Read/write |
Process or configured simulation. |
This is the location used for dynamic file compilation. In this location, the application is generated for each application in different directories.Code. Available Configure the tempdir attribute of the section to configure the root location. |
|
% SystemRoot % \ assembly |
Read |
Process or configured simulation. |
This is (GAC. |
|
% SystemRoot % \ system32 |
Read |
Process |
Contains the system DLL loaded by the. NET Framework. |
|
% SystemRoot % \ Temp |
Read/write/delete |
Process |
Used for Web service support. |
|
User Configuration File directory |
Read/write |
Process |
It is used by the secure configuration cache mechanism of GAC cache lock files and public language runtime libraries. If the user configuration file directory of the account does not exist, ASP. NET uses the default user configuration file directory. |
|
Web application directory |
Read |
Process or configured simulation. |
This is the location of the application file. |
|
Web application directory\ App_data |
Read/write |
Process or configured simulation. |
This is the default location of data files in ASP. NET web applications. If your application uses the app_data subdirectory, the ASP. Net Process must be able to write data to this directory. For some databases, you must be able to create temporary files in this subdirectory. |
|
% SystemRoot % \ Microsoft. NET \ framework \ version and sub-directories |
Read |
process or configured simulation |
Asp. NET must be able to access % SystemRoot % \ Microsoft. net \ framework \ version \ machine in the config subdirectory. the System Assembly referenced by the config file. |