protecting a folder/content

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ice
    Confirmed User
    • Nov 2002
    • 26053

    #1

    protecting a folder/content

    I have a pay site where the html is on one server and the movies and pics are on another server...(different ip's)

    How do I protect the movies and pics folder so only paying members will get in? Right now anybody can hot link to the files.
    icq 1904905
  • AdultNex
    Confirmed User
    • Feb 2003
    • 8985

    #2
    Prevent hotlinking:

    http://hahahahahahahahahahakit.com/h...access10.shtml

    Htaccess password protection:

    http://hahahahahahahahahahakit.com/h...taccess3.shtml

    I would recommend going with a 3rd party login/pass script tho.

    Comment

    • AdultNex
      Confirmed User
      • Feb 2003
      • 8985

      #3
      Oops, replace the hahahhaahaah with ja\/ascript

      Comment

      • NineNine
        So Fucking Banned
        • Sep 2002
        • 256

        #4
        Originally posted by AdultNex
        Prevent hotlinking:

        http://hahahahahahahahahahakit.com/h...access10.shtml

        Htaccess password protection:

        http://hahahahahahahahahahakit.com/h...taccess3.shtml

        I would recommend going with a 3rd party login/pass script tho.
        Assuming you're running Apache...

        Comment

        • Ice
          Confirmed User
          • Nov 2002
          • 26053

          #5
          Yes Im running apache but still can't figure out how to only give access to the content folder to people that come from the members area on the other ip.
          icq 1904905

          Comment

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

            #6
            use the module re_write in Apache. When somebody wants to see your movies on server 2, it will check that he comes from a precise url from server one... Server one protected as usual with htaccess
            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

            • Ice
              Confirmed User
              • Nov 2002
              • 26053

              #7
              Originally posted by directfiesta
              use the module re_write in Apache. When somebody wants to see your movies on server 2, it will check that he comes from a precise url from server one... Server one protected as usual with htaccess
              Thanks "dude" I will try that
              icq 1904905

              Comment

              • NineNine
                So Fucking Banned
                • Sep 2002
                • 256

                #8
                This is the last thing that IIS needs to make it a decent webserver. To do this right now, you gotta write an ISAPI filter. Ugh.

                Comment

                • gxnpt
                  Registered User
                  • Mar 2003
                  • 6

                  #9
                  If you use a short PHP script that provides just the image header and data you can then use that script as the image source (src="xxx.php") and they will not be able to find the actual images.
                  An HTTP_REFERER check in the PHP code should also be used.
                  Last edited by gxnpt; 04-05-2003, 11:58 PM.
                  <img src="http://www.pleasuregirls.biz/images/gxnptanisig.gif">
                  <br>pleasuregirls.biz is an escort site<br>disguised as an adult site

                  Comment

                  • foe
                    Confirmed User
                    • May 2002
                    • 5246

                    #10
                    if you still need help contact me

                    Comment

                    Working...