Skip to main content
Participant
May 16, 2010
Question

Accessing media outside wwwroot

  • May 16, 2010
  • 1 reply
  • 604 views

I have developed a flash movie that will play mp3 demo files based on returns from cfqueries. They are working fine. My problem is that I want to move the folder containing the files outside of the wwwroot for security purposes.  When I do, the mp3s are no longer accessible even though the path is correct. I have tried using Sandbox with no luck. I am using CF9 on a windows server. All suggestions are welcome.

    This topic has been closed for replies.

    1 reply

    Inspiring
    May 17, 2010

    You might investigate the CFCONTENT tag.

    PpolsinAuthor
    Participant
    May 17, 2010

    Thanks JR

    I tried <cfcontent> I was able to get AN mp3 into the page. My problem is that I need to get 15 per page to load into flash movies for music previews. I need the mp3 filenames to match with records from a query. If there is a way to do that using cfcontnent, I would be glad to try it.

    Inspiring
    May 17, 2010

    Can you post a sample of your code?