I have created application and implemented ELMAH logging. In my site there are three types of users.
The above user will be stored in Database.
Probelm:-
Now how could i manage protection level for User and Guest to view ELMAH.axd log file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using Roles you can add this to your web.config:
If you’re not using roles you will have to specify each user you want to give access to:
Update:
As you aren’t using any of the built in authentication/authorisation and you don’t have control of the elmah page you’re going to have to handle the
BeginRequest()event: