I want to protect my videos from being stoled i need to be only downloadable from my site ,dont tell me to use hotlink protection its not working at all i need it urgently i lose big ammounts of bandwidth everyday
you could start with using .htaccess password protection... http://www.freewebmasterhelp.com/tutorials/htaccess/3
well this to protect a folder with password not to protect the inside files from being downloaded from another locations .
Try doing a search on this website: http://www.hotscripts.com/ I get a lot of useful stuff there helps me. :]
A couple of observations. Apache's buiolt in password protection protects everthing from a stated directory and below. If you password protect a directory, the files are also password protected as are sub directories. This means you can only show videos to people who have logged into your server. Another solution is to redirect requests for view videos through an intermediary script. PHP works. You could very simply set a variable in the files which call for the video. If that variable is set, the script will show the video. If the variable is not set, the script will not show the video. This is used by many PHP programmers to prevent files from being run directly. There are few things to do to make this work. In "parent" files put in something like: define( '_VIDEO_MIDO', 1 ); in the file which grabs the video put something like: defined( '_VIDEO_MIDO' ) or die( 'Unexpected server problem' ); In your top level .htaccess file you might put something like: RewriteEngine on RewriteRule ^(.*)\.vid$ magicmido.php?$1 [L] You need a line for each video extension! Two key lines in magicmido.php are: defined( '_VIDEO_MIDO' ) or die( 'Unexpected server problem' ); ## to get rid of obvious leechers -- and -- $query = $_SERVER["QUERY_STRING"]; ## to get the name and path of the video requested magicmido.php then starts the video stream. Never include a link to magicmido.php -- or whatever you name the file -- in any pages displayed to users. They do not need to see under the hood.
you can edit your .htaccess file and also some hosting providers provides protection for items . you can contact with your hosting provider