GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Disable video hotlinking in apache (https://gfy.com/showthread.php?t=1043994)

awwhoez 11-01-2011 12:41 PM

Disable video hotlinking in apache
 
Anyone know how to disable video hotlinking in apache some guy stealing my bandwidth like crazy:(

DateDoc 11-01-2011 12:49 PM

you need more than disabling hotlinking in apache. Rename the folder that contains the flv files and then see what your host recommends.

awwhoez 11-01-2011 12:51 PM

Quote:

Originally Posted by DateDoc (Post 18530243)
you need more than disabling hotlinking in apache. Rename the folder that contains the flv files and then see what your host recommends.

ill give that a try as for my host im unmanaged so they probably won't suggest much

raymor 11-01-2011 12:54 PM

Due to bugs in various video players, especially Microsoft's, you can't stop it with a simple Apache setting. You need a system to generate, authenticate, and track secure tokens.

awwhoez 11-01-2011 12:58 PM

Quote:

Originally Posted by raymor (Post 18530260)
Due to bugs in various video players, especially Microsoft's, you can't stop it with a simple Apache setting. You need a system to generate, authenticate, and track secure tokens.

maybe i have need to install lighthttp

DateDoc 11-01-2011 01:02 PM

Quote:

Originally Posted by awwhoez (Post 18530279)
maybe i have need to install lighthttp

You still need more than that - I have never used this but you need something that will do what this claims to do - http://www.hotlinkingprotection.com/

awwhoez 11-01-2011 01:11 PM

Quote:

Originally Posted by DateDoc (Post 18530291)
You still need more than that - I have never used this but you need something that will do what this claims to do - http://www.hotlinkingprotection.com/

I see that script is pretty neat that's exactly what i need but looks kinda hard to install myself thanks:thumbsup

fris 11-01-2011 01:32 PM

generate expiring video links that expire every minute, that way the links will no longer work for them.

awwhoez 11-01-2011 01:36 PM

Quote:

Originally Posted by fris (Post 18530367)
generate expiring video links that expire every minute, that way the links will no longer work for them.

you know anyway to integrate it into a tube script

mountainmiester 11-01-2011 01:40 PM

Our MediaVault product does this and is used by almost all of our adult customers however, it would require you to deliver your content over our network which, most Tube Sites use a CDN these days. Unless you have a very small site, it makes sense to use a CDN for large scale delivery.

awwhoez 11-01-2011 02:02 PM

Quote:

Originally Posted by mountainmiester (Post 18530384)
Our MediaVault product does this and is used by almost all of our adult customers however, it would require you to deliver your content over our network which, most Tube Sites use a CDN these days. Unless you have a very small site, it makes sense to use a CDN for large scale delivery.

yea seem like your service would cost my site is steady growing went from 1k daily to 10k daily but now my video speeds has slowed down i dont know if its just me i get some emails 1 or 2 from users saying they cant veiw videos. I found a couple of sites hot-linking my videos and im tryin to stop it to make sure its not my host.

fris 11-01-2011 02:39 PM

Quote:

Originally Posted by awwhoez (Post 18530375)
you know anyway to integrate it into a tube script

yes bascially something like this

Code:

<?php

$secret = "secret";
$path = "/downloads/";
$htime = dechex(time());
$fname = "/video.flv";
$token = md5($secret . $fname. $htime);
$url = $path . $token. "/" . $htime . $fname;

?>

<script type="text/javascript">
  var so = new SWFObject("player.swf","mpl","450","290","9");
  so.addParam("allowfullscreen","true");
  so.addParam("allowscriptaccess","always");
  so.addParam("wmode","opaque");
  so.addVariable("autostart","true");
  so.addVariable("file","<?php echo $url;?>");
  so.write("flashcontent");
</script>

or whatever method you want being done.

Babaganoosh 11-01-2011 02:51 PM

mod_auth_token - http://www.handsalsa.com/77/linux/us...with-wordpress


All times are GMT -7. The time now is 05:55 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123