In web.config we can set authorization option individually for locations:
<location path="request.ashx">
      <system.web>
          <authorization>
              <allow users="*" />
          </authorization>
      </system.web>
  </location>
How to get this option from code?