fileExtensions Element for requestFiltering for security for system.ftpServer [IIS Settings Schema]

Note

For more information about the fileExtensions element, see the following topic on the Microsoft IIS.net Web site: FTP File Name Extensions <fileExtensions>.

Contains a collection of file name extensions that IIS will either allow or deny, depending on how the settings of each element are defined.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

allowUnlisted

Optional Boolean attribute.

Specifies whether the Web server should process files that have unlisted file name extensions. If you set this attribute to true, you must list all file name extensions that you want to deny. If you set this attribute to false, you must list all file name extensions that you want to allow.

The default value is true.

Child Elements

Element

Description

add

Optional element.

Adds a file name extension to the collection of file name extensions.

remove

Optional element.

Removes all references to file name extensions from the fileExtensions collection.

clear

Optional element.

Removes a reference to a file name extension from the fileExtensions collection.

Parent Elements

Element

Description

configuration

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

system.ftpServer

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

security

Specifies the root element for configuring FTP server settings.

requestFiltering

Specifies configuration settings for request filtering.

Remarks

For more information about the fileExtensions element, see the following topic on the Microsoft IIS.net Web site: FTP File Name Extensions <fileExtensions>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

add Element for fileExtensions for system.ftpServer [IIS Settings Schema]