ASP.Net and WCF generate javascript files to help calling web services over ajax. I wan't to keep my webservices themselves locked by security but I want to free up the javascript files from security. However, something like this is not working:
<location path="MyService.asmx/js">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Also, this requires my to individually free up each web services instead of targeting a whole directory or extension like this:
<location path="ScriptResource.ax ...
Go to the complete details ...