Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys

We are using ELMAH in our ASP.NET application its really good and working perfectly we are quite contented with it except one of its authorization issue.

I have used the following configurations of ELMAH in my ASP.NET MVC application.

I just want to make ELMAH URL password protected so that only I can access it.

I have tried many solutions but couldn't get hold on it please advise.

XML
<location path="admin">
  <system.web>
    <httphandlers>
      <add verb="POST,GET,HEAD" path="elmah.axd"
           type="Elmah.ErrorLogPageFactory, Elmah"
      />
    </httphandlers>
    <authorization>
      <deny users="?" />
    </authorization>
  </system.web>
</location>


What I have tried:

I have tried the following link
https://support.discountasp.net/kb/a398/password-protecting-directories-in-iis.aspx
Posted
Updated 18-May-16 4:59am
v2
Comments
Richard Deeming 18-May-16 10:59am    
The site swallowed your code formatting. I've fixed it for you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900