0 Replies Latest reply on Jan 7, 2011 1:36 AM by flexillu10

    Flex and file downloads from PHP or the URL

    flexillu10 Level 1

      I have an application (flex with adobe air) that my customers are going to use to download image files from my server..



      At the moment the url's are stored in my public web root folder. the application navigates to the url and downloads the selected file.


      eg. http://someserver/images/image001.jpg


      What i'm trying to do is to prevent my images being accessed by anyone who navigates to the above url, they could easily change the image to image002.jpg in a web browser.


      So if i move the files out of my web root on my server....how can i get my flex app to download them from a non public url?


      Would it be best for a php script to handle the download?