How can I restrict remote access to Elmah?

前端 未结 3 945
天命终不由人
天命终不由人 2021-02-20 00:32

With Elmah installed on our dev web server .. can we restrict who remotely accesses it? Even f we hardcode the username/passwords (hashed?) or is it only via IP?

3条回答
  •  无人共我
    2021-02-20 00:47

    You can secure this in your web.config (if you indeed want it accessible to anyone on the production site) See: How to secure Elmah.axd?

    Obviously change your to the appropriate values

提交回复
热议问题