Asp.Net 2.0 Forms Authentication question

D

Dennis

I am using form authentication in a website. I have images on my
Login.aspx page which is registered as my loginUrl. However the images
that are supposed to show up on the Login.aspx page are blocked. Is
there a way that I can specify that the images should not be blocked?
Thanks
 
D

Dominick Baier

hi,


put them all together in a folder, e.g. PublicPics and add a location element
for that to web.config


<location path="PublicPics">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top