once upon a time in shaolin - buy the book now!
Page 1 of 2 12 LastLast
Results 1 to 15 of 23

Thread: how do i ban a person ip address if there a user on my website

  1. #1

    Default how do i ban a person ip address if there a user on my website

    i was told to get a htacess code as well as the file but i a bit confused as to how to do it

  2. #2
    Veteran Member shaolinsword's Avatar
    Join Date
    Aug 2006
    Location
    Basildon, Essex
    Posts
    2,682
    Rep Power
    18

    Default

    If you're using Apache;

    To block certain ip address from accessing your website, just create a file with name .htaccess at your root directory with the content below:-

    order allow,deny
    deny from 192.168.0.1
    allow from all

    http://www.techiecorner.com/95/block...sing-htaccess/

  3. #3

    Default

    thanks now i can get rid of the trolls

  4. #4
    Non Ignorants Eckankar check two's Avatar
    Join Date
    Jan 2002
    Location
    Pennsylvania
    Posts
    42,453
    Rep Power
    10

    Default

    I forget.. if you block an IP address, could that block other people in the nearby area from using the forum too? For example, if Charles Jones was using the computer at his library, and he got blocked from the forum, then I assume that everybody who uses a computer at that library would be blocked too, and possibly people that live near the library also?



  5. #5
    Veteran Member shaolinsword's Avatar
    Join Date
    Aug 2006
    Location
    Basildon, Essex
    Posts
    2,682
    Rep Power
    18

    Default

    You can block whole countries if you really want to

  6. #6

    Default

    seriously?

  7. #7

    Default

    Quote Originally Posted by check two View Post
    I forget.. if you block an IP address, could that block other people in the nearby area from using the forum too? For example, if Charles Jones was using the computer at his library, and he got blocked from the forum, then I assume that everybody who uses a computer at that library would be blocked too, and possibly people that live near the library also?
    good question

  8. #8

    Default

    i have remove a couple of frames

    it work will have to see if this users try to register (more than likely if they do they'll do so under a another name)

  9. #9
    Dinosaur Hunter Slippy The Pimp's Avatar
    Join Date
    Jun 2005
    Location
    Shadowland
    Age
    36
    Posts
    7,517
    Rep Power
    44

    Default

    Quote Originally Posted by check two View Post
    I forget.. if you block an IP address, could that block other people in the nearby area from using the forum too? For example, if Charles Jones was using the computer at his library, and he got blocked from the forum, then I assume that everybody who uses a computer at that library would be blocked too, and possibly people that live near the library also?
    It depends.

    If you just blocked one address- the library- then everyone connecting from the library would be blocked.

    If you blocked a range of addresses then you would take out a whole area.

    Because people's home IP's are always changing, you would have to block a range of addresses to stop someone from connecting from home.

    And even then, they could get around the block if they use a proxy.

  10. #10
    The Tin Man food for thought's Avatar
    Join Date
    Jan 2008
    Location
    SHAKA ZULU BOBO SHANTI NYABINGHI MAN A MAU MAU WARRIOR
    Posts
    18,302
    Rep Power
    118

    Default

    cant u block their mac address?
    We do it for the people.





  11. #11
    Dinosaur Hunter Slippy The Pimp's Avatar
    Join Date
    Jun 2005
    Location
    Shadowland
    Age
    36
    Posts
    7,517
    Rep Power
    44

    Default

    Quote Originally Posted by food for thought View Post
    cant u block their mac address?
    I suppose you could, but then they would just have to jump on a different computer, or change their mac and they would be back on in no time at all.

  12. #12
    No artificial sleazy
    Join Date
    Feb 2006
    Posts
    46,964
    Rep Power
    10

    Default

    Lol thread starter is banned.

    FAIL

  13. #13

    Default

    your very existence is a fail robbie

  14. #14
    No artificial sleazy
    Join Date
    Feb 2006
    Posts
    46,964
    Rep Power
    10

    Default

    Haha

    I don't think so fatty

  15. #15
    Parcheesi faced Lex Lugor's Avatar
    Join Date
    Jan 2007
    Location
    Ruffled inside duh bubble goose
    Posts
    4,320
    Rep Power
    34

    Default

    Quote Originally Posted by Robbie Sinclair View Post
    Lol thread starter is banned.

    FAIL
    lmao

Posting Permissions

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