.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
Post a Comment