ASP.NET 必需的访问控制列表

之前下载看了不少框架,有部分用到WEBSERVICE或其他什么的,都需要对WINDOWS下的某些文件夹具备权限,找到MSDN的这个列表,MARK一下~

http://msdn.microsoft.com/en-us/library/kwzs111e.aspx

(.NET Framework 4)

Location

Access type

Account

Comments

%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files

Read/write

Process or configured impersonation.

This is the location for dynamically compiled files. Beneath this location, application code generation takes place in a discrete directory for each application. You can configure the root location using the tempDir attribute of the <compilation> configuration section.

%SystemRoot%\assembly

Read

Process or configured impersonation.

This is the location of the global assembly cache (GAC).

%SystemRoot%\System32

Read

Process

Contains system DLLs loaded by the .NET Framework.

%SystemRoot%\Temp

Read/write/delete

Process

Used for Web services support.

User profile directory

Read/write

Process

Used by the GAC cache lock files and the security configuration caching mechanism of the common language runtime. If the user profile directory for the account does not exist, ASP.NET uses the default user profile directory.

Web application directory

Read

Process or configured impersonation.

This is the location for application files.

Web application directory\App_Data

Read/write

Process or configured impersonation.

This is the default location for data files in an ASP.NET Web application. If your application uses the App_Data subdirectory, the ASP.NET process must be able to write to the directory and for some databases, to be able to create temporary files in the subdirectory.

%SystemRoot%\Microsoft.NET\Framework\version and subdirectories

Read

Process or configured impersonation

ASP.NET must be able to access the system assemblies referenced in the Machine.config file in the CONFIG subdirectory under %SystemRoot%\Microsoft.NET\Framework\version\.

转载于:https://www.cnblogs.com/lavandachen/articles/1956570.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值