video file security
Posted: Mon Nov 03, 2008 12:27 pm
I run an eLearning website and I store all my videos in one directory. I would like to create a .htaccess file to restrict access to this directory so that someone just can't type the url address of the video and watch it. My question is can I write code in PHP that will supply the username and password for htaccess so that I can play the video from a webpage?