FileExtensionsSettings Class [IIS 7 and higher]
TOC
Collapse the table of content
Expand the table of content

FileExtensionsSettings Class [IIS 7 and higher]

IIS 7.0

Configures the filtering of file extensions in requests.

class FileExtensionsSettings : EmbeddedObject

This class contains no methods.

The following table lists the properties exposed by the FileExtensionsSettings class.

Name

Description

AllowUnlisted

A read/write boolean value. true if file extensions not listed in the FileExtensions property are allowed in requests; otherwise, false. The default is true.

ApplyToWebDAV

A read/write boolean value. true if the AllowUnlisted and FileExtensions properties are applied to WebDAV requests; otherwise, false. The default is true.

FileExtensions

An array of read/write FileExtensionElement values that specifies file extensions that are allowed or denied.

This class contains no subclasses.

Instances of this class are contained in the FileExtensions property of the RequestFilteringSection class. In the ApplicationHost.config file, this class represents the <fileExtensions> element of the <requestFiltering> section

EmbeddedObject

   FileExtensionsSettings

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show:
© 2016 Microsoft