FileExtensionsSettings Class [IIS 7 and higher]
Configures the filtering of file extensions in requests.
The following table lists the properties exposed by the FileExtensionsSettings class.
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.
A read/write boolean value. true if the AllowUnlisted and FileExtensions properties are applied to WebDAV requests; otherwise, false. The default is true.
An array of read/write FileExtensionElement values that specifies file extensions that are allowed or denied.
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