Detailed introduction on how to set a directory to prohibit script execution in Win2008 r2 IIS7.5

黄舟
Release: 2017-06-02 09:39:50
Original
2066 people have browsed it

This article mainly introduces the method of setting a directory to prohibit the execution of scripts in Win2008 r2 IIS7.5. Friends who need it can refer to it.

Refer to Wanwang. The server Windows2008 IIS7.5 can make settings to disable scripts. Execution method -------- You need to disable the script execution permission of a certain directory. You can create a web.config file in the directory where you want to disable the script execution permission and add the following code in it:

                                               
Copy after login

After saving, the folder and subcontainers are set to have only read permissions, but no script execution permissions. If you want to restore script permissions, justdeletethe web.config file in this directory.

The above is the detailed content of Detailed introduction on how to set a directory to prohibit script execution in Win2008 r2 IIS7.5. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!