I want to do this via code if possible, I want to allow glimpse to be accessed only by administrative users, how can this be achieved?
The website states it is possible - cant seem to find the exact link though
I want to do this via code if possible, I want to allow glimpse to be accessed only by administrative users, how can this be achieved?
The website states it is possible - cant seem to find the exact link though
You could turn glimpse off by default and restrict the /glimpse.axd
config panel to administrators only:
<location path="glimpse.axd">
<system.web>
<authorization>
<allow roles="Admin"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
In Glimpse 1.4.1, they provide a GlimpseSecurityPolicy.cs that will easily allow you to set authorization in code instead of using the element.