阅读背景:

IIS / ASP.NET MVC:特定文件夹上的动态IP地址限制

来源:互联网 

Because of how it works, this would be trivial to do using WebForms, but I can't see a logical way to do it using MVC. I've a part of my application (the public API) that I'd like to apply specific Dynamic IP Restrictions on it (so I need to have a Web.config file that applies only to some part of the app). In WebForms, I'd simply create a folder and put a Web.config file in it with the associated restrictions. Is there a way to do this with MVC?Because of how it works, this would be trivial




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: