is there way to protect flv videos from hotlinking?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Phil
    Confirmed User
    • Jan 2004
    • 7659

    #1

    is there way to protect flv videos from hotlinking?

    Anything out there that works against Turks and Chinese guys hotlinking your flv files?
    Ask Phil
  • madm1k3
    Confirmed User
    • Jul 2005
    • 472

    #2
    bump, i'm interested too.
    Always looking for trades on Linkspun! Check my Id here

    Comment

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

      #3
      http://trafficguardian.com/
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

      Comment

      • Phil
        Confirmed User
        • Jan 2004
        • 7659

        #4
        does it work for flash files? looks like htaccess thing. I can do that myself.
        Ask Phil

        Comment

        • SmokeyTheBear
          ►SouthOfHeaven
          • Jun 2004
          • 28609

          #5
          i have a simple method that will also generate revenue without having to alter existing links/code much.

          Most flv players will also play playlists even if the extension is flv. using playlists you can insert ads or promo clips after or before the video.

          example

          lets say your flvs are in http://mysite.com/videos/sample1.flv

          and your embed code is like http://mysite.com/myplayer.swf?file=...os/sample1.flv

          first change the flv folder to "secret"

          then remake the flv folder and drop in this htaccess
          Code:
          RewriteEngine on
          
           RewriteRule ^(.*)\.flv index.php?x=$1 [nc]
          then make an index.php and place the following inside it ( dynamic playlist creator )

          Code:
          <?php
          
          header('Cache-Control: no-cache, must-revalidate');
          
          header('Content-type: video/x-ms-asf');
          
          $x = $_GET['x'];
          
          
          ?>
          
          <asx version="3.0">
          
          	<title>title</title>
          
          
          
          	<entry>
          
          		<title>title</title>
          
          
          
          		<author>SmokeyTheBear</author>
          
          		<abstract>Hello World</abstract>
          
          		<moreinfo href="http://sponsorlink.com" />
          
          		<ref href="http://mysite.com/secret/<?php echo $x; ?>.flv" />
          
              
          
          	</entry>
          
          
          
          	<entry>
          
          		<title>an ad after the video</title>
          
          
          
          		<author>SmokeyTheBear</author>
          
          		<abstract>Hello World</abstract>
          
          		<moreinfo href="http://sponsorlink.com" />
          
          		<ref href="http://mysite.com/promoclip.flv" />
          
              
          
          	</entry>
          
          
          
          </asx>
          so now when they hotlink your flv they will be hotlinking your playlist with ad and promoclip

          now lets say they are smart and read the playlist to find the secret flv folder, no problem , just rename the master flv folder and change the path in the index.php in one simple place every so often and they will be thwarted.
          hatisblack at yahoo.com

          Comment

          • munki
            Do Fun Shit.
            • Dec 2004
            • 13393

            #6
            Originally posted by SmokeyTheBear
            i have a simple method that will also generate revenue without having to alter existing links/code much.

            Most flv players will also play playlists even if the extension is flv. using playlists you can insert ads or promo clips after or before the video.

            example

            lets say your flvs are in http://mysite.com/videos/sample1.flv

            and your embed code is like http://mysite.com/myplayer.swf?file=...os/sample1.flv

            first change the flv folder to "secret"

            then remake the flv folder and drop in this htaccess
            Code:
            RewriteEngine on
            
             RewriteRule ^(.*)\.flv index.php?x=$1 [nc]
            then make an index.php and place the following inside it ( dynamic playlist creator )

            Code:
            <?php
            
            header('Cache-Control: no-cache, must-revalidate');
            
            header('Content-type: video/x-ms-asf');
            
            $x = $_GET['x'];
            
            
            ?>
            
            <asx version="3.0">
            
            	<title>title</title>
            
            
            
            	<entry>
            
            		<title>title</title>
            
            
            
            		<author>SmokeyTheBear</author>
            
            		<abstract>Hello World</abstract>
            
            		<moreinfo href="http://sponsorlink.com" />
            
            		<ref href="http://mysite.com/secret/<?php echo $x; ?>.flv" />
            
                
            
            	</entry>
            
            
            
            	<entry>
            
            		<title>an ad after the video</title>
            
            
            
            		<author>SmokeyTheBear</author>
            
            		<abstract>Hello World</abstract>
            
            		<moreinfo href="http://sponsorlink.com" />
            
            		<ref href="http://mysite.com/promoclip.flv" />
            
                
            
            	</entry>
            
            
            
            </asx>
            so now when they hotlink your flv they will be hotlinking your playlist with ad and promoclip

            now lets say they are smart and read the playlist to find the secret flv folder, no problem , just rename the master flv folder and change the path in the index.php in one simple place every so often and they will be thwarted.
            thexiness

            I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde

            Comment

            • d-null
              . . .
              • Apr 2007
              • 13724

              #7
              nice technique and very well explained Smokey

              __________________

              Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
              Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
              Check out the #1 WordPress SEO Plugin: CyberSEO Suite

              Comment

              • SmokeyTheBear
                ►SouthOfHeaven
                • Jun 2004
                • 28609

                #8
                what i do is go one step further and instead of using the flv url in the embed code you just use a simple dynamic swf url

                so instead of adding all your params to the swf flv player in the embed code like logo=&link=&file=

                you just use <embed src=http://mysite.com/swf/1789234.swf>

                the swf folder uses htacces to run thru a php script the php script checks referrer and only makes the asx file if the swf is hotlinked ( so you can display different/more/less ads when they are on your site compared to when someone hotlinks or uses the embed code ) , plus you can have super short embed codes instead of long ones
                hatisblack at yahoo.com

                Comment

                • st0ned
                  Confirmed User
                  • Mar 2007
                  • 8437

                  #9
                  Great information Smokey. Thanks for sharing!
                  Conversion Sharks - 1,000+ adult dating offers, traffic management, and consistently high payouts.
                  We will guarantee and beat your current EPC to win your dating traffic!
                  Skype: ConversionSharks || Email: info /@/ conversionsharks.com

                  Comment

                  • quantum-x
                    Confirmed User
                    • Feb 2002
                    • 6863

                    #10
                    Or, use a combination of ModSecURL + referrer blocking.

                    #1 - ModSecURL creates rolling URLS that change every X minutes. Even if people spread your links, the links die after X minutes.

                    #2 - All flash players (ALL) send referrer information. You can simply use .htaccess to whitelist certain domains / urls.
                    PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

                    Comment

                    • Davy
                      Confirmed User
                      • Apr 2006
                      • 4323

                      #11
                      Google gives no results for modsecurl.
                      What's the real name for this extension?
                      ---
                      ICQ 14-76-98 <-- I don't use this at all

                      Comment

                      • quantum-x
                        Confirmed User
                        • Feb 2002
                        • 6863

                        #12
                        Sorry, mod_sec I believe
                        PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

                        Comment

                        • seeandsee
                          Check SIG!
                          • Mar 2006
                          • 50945

                          #13
                          we need security expert to make something
                          BUY MY SIG - 50$/Year

                          Contact here

                          Comment

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

                            #14
                            Originally posted by CAMOKAT
                            does it work for flash files? looks like htaccess thing. I can do that myself.
                            its an apache module, dosnt work the same as htaccess
                            Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                            Comment

                            Working...