www.webdeveloper.com
Results 1 to 6 of 6

Thread: Banning Ip

  1. #1
    Join Date
    Dec 2002
    Location
    UK
    Posts
    62

    Banning Ip

    Can you stop a certain ip address visiting your website, and if you can how?

    Cheers

  2. #2
    Join Date
    Jun 2003
    Location
    UK
    Posts
    789
    if($neil=="stuck"){echo("Help!");
    pull_out("hair", $neil);
    $neil=bald;}
    else{echo("What do you want?");}

  3. #3
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Server side. You can tell someone to die with java script but not stop them because they can just turn off java script. Actually infact, no ip ban will stop me, all I have to do is browse through a proxy, www.anproxy.com , and boom, I just bruatlized your ip ban system. How about make a login system for the private areas of your site instead of trying to keep people out of a public part of your site, because it is not going to be possible using the user agent, cookies, the ip, or other things, they can always be masked or changed.

  4. #4
    Join Date
    Jun 2003
    Location
    UK
    Posts
    789
    If you had a list of IP addresses that are allowed to browse your site, then using a proxy would not allow access.

    Neil
    if($neil=="stuck"){echo("Help!");
    pull_out("hair", $neil);
    $neil=bald;}
    else{echo("What do you want?");}

  5. #5
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Originally posted by neil9999
    If you had a list of IP addresses that are allowed to browse your site, then using a proxy would not allow access.

    Neil
    Then you might as well have a login system if you are going to go through the trouble of finding the ips of everyone you like... then you have to change the list if they have dynamic or persistant ip addresses that will change.

  6. #6
    Join Date
    Feb 2003
    Posts
    86
    I have a question on this too, though probably "newbie" in my case -- if you have some kind of connection like AOL that's cycling through IPs, how could you block an IP or allow IPs. Also, if you were to restrict acces on a survey or something without using cookies, how could two people from that same ISP vote on something even if it WEREN'T . . . in other words, wouldn't the IPs used by many of these ISPs like AOL, Earthlink, etc., etc., be the same for large blocks of people, not just one person?

    Sorry if that's a little basic, I just haven't understood it yet........
    jeanne

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles