WebResource.axd使用IIS7在ASP.Net Post Backs中给出403错误 [英] WebResource.axd giving 403 error in ASP.Net Post backs using IIS7
问题描述
我在Windows 2008服务器上安装了ASP.Net网站,默认情况下使用IIS7.该网站似乎工作正常,但是我表格上的帖子不起作用.经过几个小时的调试,我意识到,当我手动尝试在浏览器中点击WebResource.axd文件时(例如,键入 http://www.domain.com/WebResource.axd ),我收到了HTTP 403错误(访问被拒绝).
I installed a ASP.Net website on a Windows 2008 server, which is by default using IIS7. The website seems to work fine, but the post backs on my forms do not work. After a few hours of debugging, I realized that when I manually try to hit the WebResource.axd file in my browser (e.g. I type http://www.domain.com/WebResource.axd in the address bar), I get a HTTP 403 error (Access Denied).
我不太确定下一步要去哪里,并且我的Windows 2008安全知识有限.我该如何授予对该文件的访问权限?
I'm not quite sure where to look next and my Windows 2008 security knowledge is limited. How do I go about giving access to that file?
推荐答案
如果使用的是plesk面板或Web应用程序防火墙(ModSecurity)已激活,请禁用"OWASP_CRS/LEAKAGE/ERRORS_IIS".和"OWASP_CRS/POLICY/EXT_RESTRICTED";安全规则.
If you are using plesk panel or Web Application Firewall (ModSecurity) is active, disable "OWASP_CRS / LEAKAGE / ERRORS_IIS" and "OWASP_CRS / POLICY / EXT_RESTRICTED" security rules.
这篇关于WebResource.axd使用IIS7在ASP.Net Post Backs中给出403错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!