Best Bandwidth/Anti-Hyperlinking Protection Script/System?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unmgroup
    Registered User
    • Mar 2006
    • 67

    #1

    Best Bandwidth/Anti-Hyperlinking Protection Script/System?

    Hey, I'm using apache on a windows 2003 server, and I was wondering if anyone can give me some advice on scripts or mods to prevent hyperlinking on movie files. I already have the codes for images, but it doesnt work for movies.

    Problem: People are hyperlinking to my public movie files. Can anyone offer a soultion?
  • Dirty F
    Too lazy to set a custom title
    • Jul 2001
    • 59204

    #2
    Just wondering, why are you running websites on windows?

    Comment

    • SmokeyTheBear
      ►SouthOfHeaven
      • Jun 2004
      • 28609

      #3
      the problem is windows media player doesnt pass along referrer so if you stop hotlinking of movies you will also stop people in browsers not passing along referrer
      hatisblack at yahoo.com

      Comment

      • elron
        Confirmed User
        • Jul 2003
        • 1553

        #4
        RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
        RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
        RewriteRule .*[Aa][Vv][Ii]$|.*[Mm][Pp][Gg]$|.*[Ww][Mm][Vv]$ / [F]

        Comment

        • unmgroup
          Registered User
          • Mar 2006
          • 67

          #5
          Originally posted by Franck
          Just wondering, why are you running websites on windows?

          Because I dont have the time to learn unix that's why. GUI = Easier to learn.

          Comment

          • unmgroup
            Registered User
            • Mar 2006
            • 67

            #6
            Originally posted by elron
            RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
            RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
            RewriteRule .*[Aa][Vv][Ii]$|.*[Mm][Pp][Gg]$|.*[Ww][Mm][Vv]$ / [F]
            "the problem is windows media player doesnt pass along referrer so if you stop hotlinking of movies you will also stop people in browsers not passing along referrer"

            Comment

            • elron
              Confirmed User
              • Jul 2003
              • 1553

              #7
              Originally posted by unmgroup
              "the problem is windows media player doesnt pass along referrer so if you stop hotlinking of movies you will also stop people in browsers not passing along referrer"
              then this is your solution :

              RewriteCond %{HTTP_REFERER} !^$
              RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
              RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
              RewriteRule .*[Aa][Vv][Ii]$|.*[Mm][Pp][Gg]$|.*[Ww][Mm][Vv]$ / [F]


              this will just block hotlinking from actuall urls and will allow local hotlinking + media players

              Comment

              • Dirty F
                Too lazy to set a custom title
                • Jul 2001
                • 59204

                #8
                Originally posted by unmgroup
                Because I dont have the time to learn unix that's why. GUI = Easier to learn.

                Huh? Get managed hosting and you dont need to learn any unix.

                Comment

                • Webby
                  Too lazy to set a custom title
                  • Oct 2002
                  • 14956

                  #9
                  Originally posted by unmgroup
                  Hey, I'm using apache on a windows 2003 server, and I was wondering if anyone can give me some advice on scripts or mods to prevent hyperlinking on movie files. I already have the codes for images, but it doesnt work for movies.

                  Problem: People are hyperlinking to my public movie files. Can anyone offer a soultion?
                  Check out this thread unmgroup..

                  http://www.gofuckyourself.com/showthread.php?t=645080

                  And note this link from ServerGenius

                  http://www.antihotlinking.com/
                  XXX TLD's - Another mosquito to swat.

                  Comment

                  Working...