add Element for hiddenSegments for requestFiltering [IIS Settings Schema]
Note
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Hidden Segments <add>.
Adds a segment to the collection of hidden segments.
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 add element, see the following topic on the Microsoft IIS.net Web site: Adding Hidden Segments <add>.
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 |