videos in "safe directory"
Posted: Thu Nov 01, 2007 10:41 am
Hi Everyone,
I'm trying to build a script that will display a .mov that is located in a directory outside my public_html directory for security reasons. I want to use the script to first ensure that the request to view the movie came from a specific http host, and if not, exit before the video is displayed. I also want to avoid people fishing in the directory where the videos are located, hence having outside the public dir.
Any ideas on how to tackle this, or know of any existing scripts that would work?
I'm trying to build a script that will display a .mov that is located in a directory outside my public_html directory for security reasons. I want to use the script to first ensure that the request to view the movie came from a specific http host, and if not, exit before the video is displayed. I also want to avoid people fishing in the directory where the videos are located, hence having outside the public dir.
Any ideas on how to tackle this, or know of any existing scripts that would work?