Whitelisting Dynamic IP's

Discussion in 'Site & Server Administration' started by Mike Hammer, Sep 4, 2009.

  1. #1
    I have a personnel proxy server that I would like to share with my son's. One is in college and the other is in the Air Force.

    Like myself, on FIOS, they have a dynamic IP.

    Who can suggest the proper code or script using .htaccess, or other method, to allow only them and blacklist all other IP requests.
     
    Mike Hammer, Sep 4, 2009 IP
  2. whitefire

    whitefire Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i'm not sure of the syntax but you should be allowed to whitelist a whole range, unfortunately, this means anyone at the same place will be able to use it too. why not use htaccess to user/password it?
     
    whitefire, Sep 4, 2009 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #3
    Well you just have to put a php check saying that if the ip is this then only allow people to access the site if its not then just exit
     
    Bohra, Sep 5, 2009 IP
  4. Mike Hammer

    Mike Hammer Member

    Messages:
    76
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    48
    #4
    Well I'm going to create an HTTP Tunnel and use htaccess to password it. Of course I have no clue how.

    Any suggestions?
     
    Mike Hammer, Sep 5, 2009 IP