Permission setting for WebService enabled on IIS6 host

Source: Internet
Author: User
Tags ntfs permissions

When WebService is enabled on the host, an error is found, which may be a permission issue. After checking some information, you can add iis_wpg user's permissions on web folders.

 

Refer to the following materials:

 

Settings on the VM:

Www.3.com Net D:/www.3.com/iusr_1.com administrators (full control)
Iwam_3.com (read/write)
Iusr_3.com (read/write) Independent pool read/pure script enable parent path

Host Script Type application program extension (that is, file extension) corresponds to the host script, you only need to load the following application extension

Net aspx | asax | ascx | ashx | asmx | axd | vsdisco | REM | soap | config |

Application extension ing File Execution action
Aspx =. aspx C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Asax =. asax C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Ascx =. ascx C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Ashx =. ashx C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Asmx =. asmx C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Axd =. axd C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Vsdisco =. vsdisco C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Rem =. Rem C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Soap =. Soap C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Config =. config C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Cs =. cs c:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Csproj =. csproj C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
VB =. vb c:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Vbproj =. vbproj C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Webinfo =. webinfo C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Licx =. licx C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Resx =. resx C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug
Resources =. Resources C:/Windows/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll get, Head, post, debug

NTFS permissions required for ASP. NET process accounts

Temporary ASP. NET Files % WINDIR %/Microsoft. NET/framework/{version} temporary ASP. NET files
Process account and simulated identity:
Full Control
----------------------
Temporary directory (% Temp %)
Process account
Full Control
----------------------
. NET Framework directory % WINDIR %/Microsoft. NET/framework/{version}
Process account and simulated identity:
Read and execute
List folder content
Read
-----------------------------
. NET Framework configuration directory % WINDIR %/Microsoft. NET/framework/{version}/config
Process account and simulated identity:
Read and execute
List folder content
Read
------------------------
Website root directory
C:/inetpub/wwwroot
Or the default website pointing to the path
Process account:
Read
-------------------------
System root directory
% WINDIR %/system32
Process account:
Read
-----------------------
Global Assembly high-speed cache
% WINDIR %/assembly
Process account and simulated identity:
Read
-------------------------
Content directory
C:/inetpub/wwwroot/yourwebapp
(In general, the default directory is not used. The administrator can adjust the directory according to the actual situation, for example, D:/wwwroot)
Process account:
Read and execute
List folder content
Read
Note that the above permissions are required for. NET Framework 1.0 until all parent directories in the root directory of the file system. Parent directories include:
C :/
C:/inetpub/
C:/inetpub/wwwroot/

 

From http://anywolfs.com/liuhui/article.asp? Id = 153

Bytes -----------------------------------------------------------------------------------------------------------

Generally, if you want to create a new site, we recommend that you use
The same permissions are configured for inetpub/wwwroot. This is the safest way.
Inetpub/wwwroot (or content
Directories) Administrators full control
Inetpub/wwwroot (or content
Directories) system full control
Inetpub/wwwroot (or content directories)
Iis_wpg read, execute
Inetpub/wwwroot (or content directories)
IUSR_machinename read, execute
Inetpub/wwwroot (or content directories)
ASPnet read, execute

 

From http://gnaw0725.blogbus.com/logs/20974848.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.