【发布时间】:2015-07-01 06:05:19
【问题描述】:
我想在 IIS 中限制上传和下载。我将maxBandwidth 设置为2000。此限制适用于正确下载。但是当上传文件时,这个限制不起作用。
那么如何在 IIS 中限制上传带宽?
注意
在我设置的 web.config 文件中:
<system.web>
<httpRuntime maxRequestLength="2147483647" executionTimeout="3600" />
</system.web>
<system.webserver>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4249967295" />
</requestFiltering>
</security>
</system.webserver>
当我删除这条线路时,上传是有限的,但当我添加这条线路时,上传带宽是无限的。
【问题讨论】:
标签: iis upload web-config limit bandwidth