Not allow user to access HTML file only authenticated user can access HTML file. I have already put authentication in web.config file but this is not working.
<location path="test">
<system.web>
<authorization>
<allow users="?"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
when I put this code in my Web.config file it's only unauthenticated user to access HTML files. when I am authenticated to application to login it's not access to HTML file.
This code is only deny to access not allow to access "test" folder for authenticated user.
Thanks in advance !!!