Hot link protection for Video files?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markyman
    Confirmed User
    • Feb 2005
    • 822

    #1

    Hot link protection for Video files?

    Anyone know of any hotlink protection for videos files...ie galleries with .mpg .wmv and so on


    .htaccess file settings?


    Thanks
    Markyman

  • iwiiiiiiiiii
    Outside The Box Geek
    • Oct 2004
    • 550

    #2
    Here what I use.


    Options +FollowSymlinks
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
    RewriteRule .*\.(mpeg)$ http://www.domaintoforward.com/ [R,NC]


    the domain.com is the domain that you allow video viewing. The Rewriterule is where you want to forward traffic from the website that is hotlinking you, like a paysite. You can also add hotlink.jpeg that the end with a message.

    the mpeg is the ext of the files you want to protect.

    Work very fine for me, but I'm using it on my httpd.conf with directory condition

    <Directory /.../.../.../>
    </Directory>
    The second time the dog bites you, it's not his fault.

    Comment

    • markyman
      Confirmed User
      • Feb 2005
      • 822

      #3
      thanks! works great for me too
      Markyman

      Comment

      • tony299
        lurker
        • Aug 2002
        • 57021

        #4
        Thats for posting the hotlinking script needed one for video

        Comment

        • Jman
          Already an AI veteran
          • Sep 2003
          • 22830

          #5
          hit me up, I have a script for ya
          Orkestrait NSFW AI
          FantasyXXX.AI
          Email: [email protected] TG: @jman1216

          Comment

          Working...