Disable video hotlinking in apache

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • awwhoez
    Confirmed User
    • Mar 2011
    • 212

    #1

    Disable video hotlinking in apache

    Anyone know how to disable video hotlinking in apache some guy stealing my bandwidth like crazy
  • DateDoc
    Outside looking in.
    • Feb 2005
    • 14243

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

    Comment

    • awwhoez
      Confirmed User
      • Mar 2011
      • 212

      #3
      Originally posted by DateDoc
      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

      Comment

      • raymor
        Confirmed User
        • Oct 2002
        • 3745

        #4
        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.
        For historical display only. This information is not current:
        support@bettercgi.com ICQ 7208627
        Strongbox - The next generation in site security
        Throttlebox - The next generation in bandwidth control
        Clonebox - Backup and disaster recovery on steroids

        Comment

        • awwhoez
          Confirmed User
          • Mar 2011
          • 212

          #5
          Originally posted by raymor
          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

          Comment

          • DateDoc
            Outside looking in.
            • Feb 2005
            • 14243

            #6
            Originally posted by awwhoez
            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/

            Comment

            • awwhoez
              Confirmed User
              • Mar 2011
              • 212

              #7
              Originally posted by DateDoc
              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

              Comment

              • fris
                Too lazy to set a custom title
                • Aug 2002
                • 55705

                #8
                generate expiring video links that expire every minute, that way the links will no longer work for them.
                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                Comment

                • awwhoez
                  Confirmed User
                  • Mar 2011
                  • 212

                  #9
                  Originally posted by fris
                  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

                  Comment

                  • mountainmiester
                    Confirmed User
                    • Oct 2002
                    • 509

                    #10
                    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.
                    Last edited by mountainmiester; 11-01-2011, 12:41 PM.
                    Randall Crockett
                    LIMELIGHT NETWORKS
                    [email protected]

                    Comment

                    • awwhoez
                      Confirmed User
                      • Mar 2011
                      • 212

                      #11
                      Originally posted by mountainmiester
                      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.

                      Comment

                      • fris
                        Too lazy to set a custom title
                        • Aug 2002
                        • 55705

                        #12
                        Originally posted by awwhoez
                        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.
                        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                        Comment

                        • Babaganoosh
                          ♥♥♥ Likes Hugs ♥♥♥
                          • Nov 2001
                          • 15841

                          #13
                          mod_auth_token - http://www.handsalsa.com/77/linux/us...with-wordpress
                          I like pie.

                          Comment

                          Working...