Share via


remove Element for hiddenSegments for requestFiltering [IIS Settings Schema]

Note

For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: Hidden Segments <hiddenSegments>.

Removes a reference to a segment from the hiddenSegments collection.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

segment

Required string attribute.

Specifies part of the file system that should never be served to clients.

See the Default Configuration section later in this topic for the complete list of default values.

Child Elements

None.

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.

security

Specifies the section group that contains security-related sections.

requestFiltering

Specifies configuration settings for request filtering.

hiddenSegments

Specifies that certain segments of URLs can be made inaccessible to clients.

Remarks

For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: Hidden Segments <hiddenSegments>.

Element Information

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