zoukankan      html  css  js  c++  java
  • How to enable download EXE files from the Sharepoint website

          As we all know,many applications have forbidden to upload and download exe files.Because the exe files is an excute file,it can excute itself.many virus are exe files.If we allow to upload exe files in the servers,it may cause the safe question.But now our website is in the intranet,it demands to download file from the website.

          We have develop the download function,but it does’t take effect.When we click download ,it direct to the 404 page.Then we searched the internet and last found that because the IIS have forbidden this function.

           If we really want the function,we can change the IIS settings.First open the IIS,select the website,in this example we select Sharepoint80,and the click the Handler Mappings.

    image

         And then click the “Edit Feature Permissions” in the right pannel;

    image

          It will show a dialouge:

    image

          You can see the item “Read” and “Script” is Checked,The item “Execute” does’t checked.Check the “Execute” and click Ok.

    When this completed,restart the IIS,you can use the command “IISReset” in the command line.

          Then you will find that we can download exe files from the website.

  • 相关阅读:
    分布式事务
    幂等性
    方法重载
    伊人之乡
    恋桃诗
    C#使用litJson解析Json(二)
    C#使用litJson解析Json(一)
    用浏览器调试Html
    Oracle之触发器(Trigger)
    Oracle之视图(View)
  • 原文地址:https://www.cnblogs.com/xiaoxiangfeizi/p/3331360.html
Copyright © 2011-2022 走看看