在ASP.NET网站上保护Elmah RSS源

dan*_*wig 9 asp.net security rss elmah

我按照这个问题的答案在ASP.NET网站保护Elmah限制访问elmah处理程序.但是,似乎为URL elmah.axd/rss或elmah.axd/digestrss添加RSS源到Outlook会绕过身份验证.如果有人可以猜测RSS URL并订阅错误日志的订阅源,那么保护处理程序的重点是什么?

ric*_*ott 8

我使用角色在web.config中保护我的:

<location path="elmah.axd">
    <system.web>
        <authorization>
            <allow roles="SUPER_DUPER_ADMIN"/> 
            <deny users="*"/> 
        </authorization>
    </system.web>
</location>
Run Code Online (Sandbox Code Playgroud)