Keyword

Avoid download on web site

  • lili_000
  • lili_000's Avatar Topic Author
  • Offline
  • New Member
More
16 years 9 months ago #15233 by lili_000
Avoid download on web site was created by lili_000
Hello,

I would like to know if there is a way to avoid people to download the video from the web site like pictures ?

I use Allvideos plugin, works great.

Thanks

have a great day

Please Log in or Create an account to join the conversation.

  • lili_000
  • lili_000's Avatar Topic Author
  • Offline
  • New Member
More
16 years 9 months ago #15234 by lili_000
Replied by lili_000 on topic Re: Avoid download on web site
I search and I found :

<?php
$rep='http://your site/';
$file='file_name'.'.'.'avi';
$file_download=$rep.$file;
header("Content-type: application/force-download");
header("Content-Disposition: attachment; filename=$file");
readfile("$file_download");
?>

Don't know much about php... anybody have an idea if it could work and where I should put this code ?

tx

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago #15235 by geolaw
Replied by geolaw on topic Re: Avoid download on web site
Although its possible to set up some kind of anti-leech script which could provide some protection from direct download, it is really a moot point.

if your videos are "streaming" out of /images/stories/videos/, the videos are playing back using "progressive download".  As the video is being downloaded, it pseudo streams by starting playback on the file before the whole thing has downloaded.  This is why videos some time buffer, because the file plays back faster than it downloads, so you reach a point where you need to wait and let more of the file download.

I say all that to say that after the video completes downloading/buffering, the video is sitting in the remote computers internet cache already and can easily be recovered by going to c:\documents and settings\<current user>\local settings\temporary internet files\

Even putting your files on a real streaming server isn't 100% protection any more with programs like replay media catcher - www.applian.com/replay-media-catcher/  which I have used to download files from like hulu and cnn... supposedly the "undownloadable files"

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum