Asp.Net 2.0 Forms Authentication question

Discussion in 'ASP .Net Security' started by Dennis, Jul 13, 2006.

  1. Dennis

    Dennis Guest

    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
    Dennis, Jul 13, 2006
    #1
    1. Advertising

  2. 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>
    </location>


    > 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
    >
    Dominick Baier, Jul 13, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brett Porter
    Replies:
    2
    Views:
    755
    Andrea D'Onofrio [MSFT]
    Jan 20, 2004
  2. Eric
    Replies:
    2
    Views:
    1,444
    Tommy
    Feb 13, 2004
  3. Brett Porter
    Replies:
    2
    Views:
    192
    Andrea D'Onofrio [MSFT]
    Jan 20, 2004
  4. Eric
    Replies:
    2
    Views:
    480
  5. Michael D. Ober
    Replies:
    6
    Views:
    288
    Michael D. Ober
    Oct 30, 2006
Loading...

Share This Page