Export (0) Print
Expand All
1 out of 4 rated this helpful - Rate this topic

handlers Element [IIS Settings Schema]

IIS 7.0

NoteNote:

For more information about the handlers element, see the following topic on the Microsoft IIS.net Web site: Handlers <handlers>.

Specifies handlers to process requests made to sites and applications.

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

accessPolicy

Optional flags attribute.

Specifies the allowed access types for the entire handlers collection.

The accessPolicy attribute can be one of the following possible values. The default is Read.

ValueDescription
ExecuteEnables handlers in the handlers collection that require execute rights in directories and files.
NoneDisables all handlers in the handlers collection that require access to directories or files.
NoRemoteExecutePrevents handlers in the handlers collection from running executables when a handler receives a remote request.
NoRemoteReadPrevents handlers in the handlers collection from reading files when a handler receives a remote request.
NoRemoteScriptPrevents handlers in the handlers collection from running scripts when a handler receives a remote request.
NoRemoteWritePrevents handlers in the handlers collection from creating or changing files when a handler receives a remote request.
ReadEnables handlers in the handlers collection that require read access to directories and files.
ScriptEnables handlers in the handlers collection that require script rights to directories or files.
SourceEnables handlers in the handlers collection that require read access to source code (together with the Read flag) or write access to source code (together with the Write flag).
WriteEnables handlers in the handlers collection that require write access to directories and files.

Child Elements

Element

Description

add

Optional element.

Adds a handler to the collection of handlers.

clear

Optional element.

Removes all references to handlers from the handlers collection.

remove

Optional element.

Removes a reference to a handler from the handlers collection.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

For more information about the handlers element, see the following topic on the Microsoft IIS.net Web site: Handlers <handlers>.

Configuration locations

Machine.config

ApplicationHost.config

Root application Web.config

Application Web.config

Directory Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.