View Full Version : Blocking an IP
bgtking
06-03-2003, 06:32 PM
How can you block a certain IP from viewing your website? I had someone spam my forums and I want to ban them from the whole site.
filburt1
06-03-2003, 06:34 PM
Search for .htaccess and IP banning.
Ya know I have often though about this, and I think the most effective way to actually ban someone is to as follows.
1) Get the most complete sniffer you can find. Get every ounce of info on the problem before banning. That way when you do the IP ban and they proxy in, you can have it set up to alert you that someone new is on the forums that just happens to match all these different criterias that you have learned.
2) Put a redirect in on the user based on username/userid - if they do not know they can kill cookies than you got em righ there.
3) Of course monitor password strings compared to their password string.
4) If you know their instant messenger names, put something in logging their sign ins and off of that, as it gives you something to compare to other activities that match.
5) Try to third party cookie them.
6) Give up if they know anything and do not want to be banned.
GoTTi
06-05-2003, 11:16 PM
if you have cpanel, you can block a IP and IP Range threw cpanel.
Talisman
06-06-2003, 01:02 AM
06-03-03 at 12:34 PM filburt1 said this in Post #2 (https://vborg.vbsupport.ru/showthread.php?postid=403990#post403990)
Search for .htaccess and IP banning.
Better use "IP* banning" for your search keywords instead of "IP banning" or you'll get an error. The search feature won't accept words with less than 3 characters. The asterisk serves as a wild card.
bgtking
06-07-2003, 03:51 PM
I was able to search and find this .htaccess script to block an IP. I'll post it incase anyone else needs it.
<Limit GET PUT POST>
order allow,deny
allow from all
deny from 00.00.00.00.
</Limit>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.