Enable the parent path of IIS | include file = ../header. asp

Source: Internet
Author: User




Enable the parent path of IIS | include file = .. /header. ASP. in IIS, what does the "enable parent path" option mean in Properties> Home directory> Configuration> options?

Back
A: This setting indicates thatCodeWhether the upper-level directory can be accessed by using the./method. If include is used in your ASP page
File = ../header. asp
Such code. The ../indicates the header. ASP page under the upper-level directory. If "enable parent path" in your IIS page is set to false, access the next page
The system reports an error because the current IIS settings do not allow access to the parent path using the... method. You need to set this value to true.

This setting starts from IIS6 and defaults to false. It mainly takes into account website security issues and prevents the website from being attacked by hackers to access some server information in this way.

However, you also need to change the execution permission to a script to access the parent directory.

Execution permission


This permission can determine the level of the site or virtual directory resource that can be executedProgram. For more information, see set web permissions.

No static files, such as HTML files or image files, can be accessed only.

Only scripts such as ASP scripts can be run.

Scripts and executable files can access or execute all file types.

Application Protection

Select the protection mode for running the application: Run (low) in the same process as the Web service, and run (medium) in an independent shared process with other applications) or run (high) in an independent process that is different from other processes ).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.