.net - How can I restrict remote access to Elmah? -


with elmah installed on our dev web server .. can restrict remotely accesses it? f hardcode username/passwords (hashed?) or via ip?

there 2 settings, 1 in <elmah>:

<elmah>     <security allowremoteaccess="1"/> </elmah> 

the other is, if allow remote access, can use <location> control accesses it:

  <location path="elmah.axd">     <system.web>       <authorization>         <allow roles="administrator"/>         <deny users="*"/>       </authorization>     </system.web>   </location> 

you can put in main web.config after </runtime> tag


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -