• How do I secure images stored in file system in ASP ?

    WinMan Member

    How do I secure images stored in the file system in ASP?

    My images are stored in a folder, images/111.jpg
    and if someone goes to the url, www.example.com/images/111.jpg, I don’t want them to see the picture.
    But I have another page which can get that image and show it on the browser. www.example.com/viewimages.aspx

    I do not have any use the forms authentication of asp so I don’t think I can solve this by adding something like in my web.config file

  • Abhey Member

    Depending on the web server you’re using surely you can just deny *outside* access to the images/ directory?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
en_USEnglish