I have a directory with flv videos in it. I have devised a system to, as best I can, keep the URLs entirely hidden from the user as I load them into a flash player through a php script. I want to, as much as possible prevent other scripts (on other domains) from accessing this directory and prevent the user from downloading these files through their browser simply by typing in the URL: mydomain.com/videos/thevideo.flv - but I am not all that well versed in security issues. I assume it is done through .htaccess, but can anybody help me out by giving me a push in the right direction (if you can offer anything more than a push it would be greatly appreciated! ).
I am running apache on linux, by the way. Thanks in advance!