I have a website that requires login.
But I also want to prevent anyone from directly getting any of the css,jpg,etc from the site unless they are logged in thru forms authentication.
How do I do this?
I was undere the impression that I could just add a web.config file for example on my images folder with this in it:
<location path="imagesanon">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
But that doesnt seem to do the trick.
Any suggestions?