How do I prevent spoofers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Project-Shadow
    Confirmed User
    • Feb 2003
    • 7340

    #1

    How do I prevent spoofers?

    Alright here's the 'scoop'
    I joined one of those free avs sites [hentaikey].
    Most of the sites using that site seem to be really easy to access [90% of the time all it requires it typing in www.yoururl.com/members/index.html] and you're in.

    I wish to make it so that only www.yoururl.com/whatever.html can access www.yoururl.com/members.index.html I know this leaves it open to spoofers but I need to start somewhere.

    Would this involve editing my .htaccess? If so how.

    Thanks for anyone's help.. although this is GFY :\
  • Dirty F
    Too lazy to set a custom title
    • Jul 2001
    • 59204

    #2
    Dont the avs programs give you that info?

    Comment

    • Project-Shadow
      Confirmed User
      • Feb 2003
      • 7340

      #3
      Originally posted by Battuss
      Dont the avs programs give you that info?
      Nope they just give me a login script, and a .htaccess that seems not to be working.

      AuthUserFile /dev/null
      AuthGroupFile /dev/null
      RewriteEngine On
      RewriteCond %{HTTP_REFERER} !^$
      RewriteCond %{HTTP_REFERER} !^http://(www\.)?hentaikey.com(/)?.*$ [NC]
      RewriteCond %{HTTP_REFERER} !^http://(www\.)?myurl.com(/)?.*$ [NC]
      RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.myurl.com/cheat.html [R,NC]

      Comment

      • icedemon
        Confirmed User
        • Jun 2003
        • 1022

        #4
        Take this part out

        RewriteCond %{HTTP_REFERER} !^$

        Also this line
        RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.myurl.com/cheat.html [R,NC]
        should be
        RewriteRule /* http://www.myurl.com/cheat.html [R,NC]
        Last edited by icedemon; 11-23-2003, 10:06 AM.
        Clips4Sale.com

        Comment

        • Project-Shadow
          Confirmed User
          • Feb 2003
          • 7340

          #5
          Originally posted by icedemon
          Take this part out

          RewriteCond %{HTTP_REFERER} !^$
          Thanks.. I just saw it -_-''

          <-- Complete dumbass!

          Comment

          Working...