Solution to IIS failure to download exe

Source: Internet
Author: User

Windows downloads are normal, but you cannot download exefiles. All the files on the network are found in the iisserver, and common sense solutions such as. EXE application/octet-stream are added. According to the method described on the internet, you still cannot download it. Finally, it was caused by URLScan. Find the URLScan. ini file under windows \ system32 \ inetsrv \ URLScan, comment out the. exe file under deny executables that cocould run on the server, save the file, and solve the problem.

; Deny executables that cocould run on the server
;. Exe
. Bat
. Cmd
. Com

In addition to adjusting the MIME type, you can also use the security permissions of the NTFS format partition to remove the read permission for the corresponding file, so that users cannot download the file. In addition, the official Microsoft URLScan (http://www.microsoft.com/china/technet/security/guidance/secmod114.mspx) can shield any extension file download, and can be applied to Windows 2000 Server IIS 5, is also a good solution.

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.