How to provide only Access for ELMAH.axd for Administrator login in web
I have created application and implemented ELMAH logging. In my site there are three types of users. Admin : can everything (rights to view elamh.axd) User : can have own rights (can't view elamh.axd) Guest : only view (can't view elamh.axd) 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? If you're using Roles you can add this to your web.config: <location path="~/elmah.axd"> <system.web> <authorization> <allow roles="Admin" /> <deny users="*" /> </authorization> </system.web> </location> If you're not