In web.config configuration, I setup several page as public (not protected) using the follownig code:
<location path="HRServices.aspx">
<system.web>
<authorization>
<allow users="*"/>
<allow users="?"/>
</authorization>
</system.web>
</location>
<location path="LeaveProcess1.aspx">
<system.web>
<authorization>
<allow users="*"/>
<allow users="?"/>
</authorization>
</system.web>
</location>
<location path="MedicalCardFormProcess.aspx">
<system.web>
<authorization>
<allow users="*"/>
<allow users="?"/>
</authorization>
</system.web>
</location>
I have a Login.aspx page which execute some code to perform automated login, and I need to check if the "ReturnURL" query string has a reference to such a public page. I am using th ...
Go to the complete details ...