Disable Parent Paths

Bb687363.caution(en-us,TechNet.10).gif Caution   Parent paths allow you to use '..' in calls to MapPath and others. By default, this option is enabled. However, you should disable it.

To disable parent paths

  1. In the Internet Information Services snap-in, right-click the site, and then click Properties.

  2. In the Web Site Properties dialog box, click the Home Directory tab, and then click Configuration.

  3. In the Application Configuration dialog box, click the App Options tab, and then clear the Enable parent paths check box.

Did you find this information useful? Please send your suggestions and comments about the documentation to acdocs@microsoft.com.