I am creating a web site for my ClickOnce applications, so that the user knows where to find the apps, instead of typing the url of any application. I am trying to validate security for knowing this URL in the web.config of each applications folder with the following code:
<location path="publish.htm">
<system.web>
<authorization>
<allow roles="admin" />
<deny users="*"/>
<deny users="?"/>
</authorization>
</system.web>
</location>
Even with this validation, if I type the URL for the publish.htm page that VS 2005 creates when publishing the applications in ClickOnce, I can access it without a problem.
What do I need to do to set security to this publish.htm page.