How to password protect streaming videos with php
What is the best way to password protect quicktime streaming videos using php/.htaccess. They are being streamed using rtsp, but I can use other formats if necessary. I know how to do authentication with php, but I'm not sure how to setup authentication so that will protect the streaming files urls so that a user can't just copy the url and share it. Or am I overthinking this and I can just use a normal authentication scheme and place the files in a protected directory? Both nginx and lighttpd web servers have X-Send-File headers you can return from PHP. So you can do your checks in PHP and