Blocking hotlinking only from specific domains...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexg
    IL4L.com
    • Aug 2003
    • 11287

    #1

    Blocking hotlinking only from specific domains...

    What code should I use if I wanblock hotlinking only from a couple of specific domains, and allow hotlinking from all the rest?

    Thanks

    Find fuck buddies in your area!

  • BMI Lace
    Too lazy to set a custom title
    • Mar 2004
    • 16116

    #2
    google.
    Your Paysite Partner
    Strength In Numbers!
    StickyDollars | RadicalCash | KennysPennies | HomegrownCash

    Comment

    • sixxxth_sense
      So Fucking Banned
      • Nov 2003
      • 2430

      #3
      Originally posted by BMI Lace
      google.
      stupid!

      Comment

      • directfiesta
        Too lazy to set a custom title
        • Oct 2002
        • 30176

        #4
        just use "deny" in your .htaccess file...
        I know that Asspimple is stoopid ... As he says, it is a FACT !

        But I can't figure out how he can breathe or type , at the same time ....

        Comment

        • alexg
          IL4L.com
          • Aug 2003
          • 11287

          #5
          Originally posted by directfiesta
          just use "deny" in your .htaccess file...
          can you give me an example?

          Find fuck buddies in your area!

          Comment

          • directfiesta
            Too lazy to set a custom title
            • Oct 2002
            • 30176

            #6
            The most common scenario is where you want everyone except a few visitors to be able to get to your site. Your .htaccess file would start like this:



            order allow,deny
            allow from all
            Then you follow that with lines to specify the addresses that you want to block:

            deny from 192.168.128.14

            deny from 192.168.128.

            deny from somehost.example.com

            deny from .example.com



            Leaving to p/u gf ... but it is very easy. Use notepad to make the file called .htaccess ( note the . before the name ).
            Put the file in the folder that you want to protect.

            Last edited by directfiesta; 08-13-2004, 02:59 PM.
            I know that Asspimple is stoopid ... As he says, it is a FACT !

            But I can't figure out how he can breathe or type , at the same time ....

            Comment

            • alexg
              IL4L.com
              • Aug 2003
              • 11287

              #7
              Originally posted by directfiesta
              The most common scenario is where you want everyone except a few visitors to be able to get to your site. Your .htaccess file would start like this:



              order allow,deny
              allow from all
              Then you follow that with lines to specify the addresses that you want to block:

              deny from 192.168.128.14

              deny from 192.168.128.

              deny from somehost.example.com

              deny from .example.com



              Leaving to p/u gf ... but it is very easy. Use notepad to make the file called .htaccess ( note the . before the name ).
              Put the file in the folder that you want to protect.

              thanks for the help
              would be better though if you could just copy a code from your site that does that and send me via icq: 162136565 if you can...
              I don't know anything about htacces, so I better just get such code and copy it

              someone must have it...

              Find fuck buddies in your area!

              Comment

              • alexg
                IL4L.com
                • Aug 2003
                • 11287

                #8
                anyone got such code?
                I'd really appreciate it

                Find fuck buddies in your area!

                Comment

                • directfiesta
                  Too lazy to set a custom title
                  • Oct 2002
                  • 30176

                  #9
                  Originally posted by alexg
                  thanks for the help
                  would be better though if you could just copy a code from your site that does that and send me via icq: 162136565 if you can...
                  I don't know anything about htacces, so I better just get such code and copy it

                  someone must have it...
                  LOL .... I don't use ICQ... I have a number, but that was beyond me ...

                  open notepad hahahaha=> type the following, changing the domain and/or the IP's to block hahahaha=>

                  --- start -----

                  order allow,deny
                  allow from all
                  deny from 192.168.128.14
                  deny from 192.168.128.
                  deny from somehost.example.com
                  deny from .example.com

                  ---- end ----

                  - Save it as a text file. It will be like htaccess.txt .
                  - Upload it to the folder ( the one you want to protect and all under it ) in your server .
                  - rename it .htaccess ( note no more extension text ).

                  for more help : http://baremetal.com/gadgets/htaccess/access.html
                  http://www.webpimps.com/scripts/htaccess/
                  http://www.htmlbasix.com/disablehotlinking.shtml

                  and as stated above " google '

                  Good luck... I'm out of here
                  I know that Asspimple is stoopid ... As he says, it is a FACT !

                  But I can't figure out how he can breathe or type , at the same time ....

                  Comment

                  • alexg
                    IL4L.com
                    • Aug 2003
                    • 11287

                    #10
                    Originally posted by directfiesta
                    LOL .... I don't use ICQ... I have a number, but that was beyond me ...

                    open notepad hahahaha=> type the following, changing the domain and/or the IP's to block hahahaha=>

                    --- start -----

                    order allow,deny
                    allow from all
                    deny from 192.168.128.14
                    deny from 192.168.128.
                    deny from somehost.example.com
                    deny from .example.com

                    ---- end ----

                    - Save it as a text file. It will be like htaccess.txt .
                    - Upload it to the folder ( the one you want to protect and all under it ) in your server .
                    - rename it .htaccess ( note no more extension text ).

                    for more help : http://baremetal.com/gadgets/htaccess/access.html
                    http://www.webpimps.com/scripts/htaccess/
                    http://www.htmlbasix.com/disablehotlinking.shtml

                    and as stated above " google '

                    Good luck... I'm out of here
                    thanks bro

                    I'll test it later to see if it works...

                    Find fuck buddies in your area!

                    Comment

                    Working...