如何允许IIS7下载exe文件 [英] how to allow IIS7 to download exe files

查看:105
本文介绍了如何允许IIS7下载exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好大家

我的服务器:windows server 2008 r2,II7

我将一个wpf webbrowser应用程序部署到IIS7中,然后我把一个.exe文件放在C中:\inetpub \ www.root,我希望我的客户端应用程序获取远程exe文件,但总是返回null。

我研究了一些文件,有人告诉我可能IIS7锁定了所有的exe文件,所以我无法下载它们,但我不知道我能做些什么。

有没有人知道这个问题?请帮助我,这个问题让我绝望。

hello everyone
My server: windows server 2008 r2 , II7
I deploy a wpf webbrowser application into the IIS7,then I put a .exe file in "C:\inetpub\wwwroot",I want my client application to get the remote exe file,but always return null.
I have research some documents,someone tells me maybe IIS7 locks all the exe files,so that i can not download them,but i dont''t know what can I do.
Did anyone encounted this problem ? help me,please,this problem makes me despair.

推荐答案

我可能错了,但我不认为这是一个由IIS决定的问题(服务器) - 决定。如果恶意网站的主机/所有者应该决定客户端可以下载什么,这将是错误的,并且是危险的。



所以这取决于客户端。您网站的访问者应允许在网络浏览器的设置中下载exe文件。
I could be wrong, but I do not think this is a concern that is up to the IIS (server-side) to decide. That would be wrong, and dangerous if the host/owner of malicious websites should decide what the client can download.

So this is up to the client. The visitors to your site should allow exe-files to be downloaded within the settings in the web browser.


这篇关于如何允许IIS7下载exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆