restrict hotlinking to certain sites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bromide
    Junior Member
    • Apr 2004
    • 19

    #1

    restrict hotlinking to certain sites

    hello, i am aware of how to block hotlinking and allow only certain sites to link to files, however i am curious if i can do the opposite. i dont mind the entire web linking to my files except for a select few sites. is there a way to block only certain websites from leeching my files? Thanks~!
  • Frank Hagan
    Senior Member
    • Mar 2004
    • 724

    #2
    I think you can use the IP address to deny access in .htaccess, such as:

    Code:
    Order Allow,Deny
    Deny from 69.28.130.
    Allow from all

    Comment

    • bromide
      Junior Member
      • Apr 2004
      • 19

      #3
      Originally posted by Frank Hagan
      I think you can use the IP address to deny access in .htaccess, such as:

      Code:
      Order Allow,Deny
      Deny from 69.28.130.
      Allow from all

      i'll give it a try, thanks!

      Comment

      • bromide
        Junior Member
        • Apr 2004
        • 19

        #4
        i got it to work
        Last edited by bromide; 06-09-2005, 05:35 PM.

        Comment

        Working...