Hi, Everyone
I have read and tried the code at http://www.dialme.com/articles/entry/How-to-Prevent-direct-access-to-files-and-folders but I still have a problem:
My website has a bunch of quicktime movies that I want subscribers to view within my html pages, but not download. I’ve used quicktime parameters to prevent downloading to some extent, but users could still read my code (mozilla resists all encryption attempts, even external javascript files) and go directly to the media URL and download from there, which I also don’t want.
htaccess has not worked because no one can find a way to simultanesouly 1) block users from typing the media URL directly into a browser and downloading that way, and 2) still allowing the media to play in the html (actually php) page. I can always get one or the other, but not both. To be specific, in solution A, I type www.mysite.com/my.mov into the browser and I get redirected to www.mysite.com/home.php. It’s cool, it works, but when I load www.mysite.com/page_with_my_movie.php, my.mov won’t play at all; I just get the quicktime “Q” hanging there. In solution B, the movie plays AND you can go directly to the URL and download away.
A fix that did NOT work was putting the quicktime files outside the “www” root of my domain and calling them via php. This didn’t work because I need to play several consecutive movie files on the same page in the same player. The php could call only one movie per page with this solution.
Ideas?
Thanks,
newbie J



