May 15, 2008

How To Block Bad Visitors - IP ban

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

How To Block Bad Visitors - IP ban

dylan2xs
Hello guys i need some .htacces help over here , I am unfamiliar to .htaccess and I need to ban a certain IP from coming to my website. I know that banning people from a site like mine where logins are not required it is pretty much difficult but i think its not impossible. i have a comment box and an guestbook on my website and over the past few months I have been receiving some spam comments from one spammer in Bulgaria i didn't have a problem with that , i just had to delete them every morning, but the real problem bagan yesterday I started receiving tons (like three / five every minute) of the same spam from the same guy and two more spammers leaving links to many websites full of illegal stuff. I was really angry but i didn't know what to do .. so i just disabled all new comments but somehow they started spamming huge comments all over the place. so i had to remove my comment box and guestbook from my website. can anyone help me to get out from of this nightmare?

Reply

Imtay22
Are you using cpanel? i'm pretty sure there is a setting to ban IP, there is one in IPB and PHPBB2. Hope I could help!

Reply

jlhaslip
Yes, the Cpanel has an IP denial script in place.

Sign-on to your Cpanel and look for "Site Management Tools / IP Deny Manager " in the list of features available.

Reply

andybebad
if you want to use a .htacces file, you can use something like this, where 111.111.111.111 is the ip address you want to block:
CODE
order allow,deny
deny from 111.111.111.111
allow from all

Reply

hitmanblood
Well if you are using trap17 as your host there is automated option for this so you want bother about adding the htacces. As it can be tiring sometime actually all the time wink.gif

Reply

Graeme
html code for blocking ip's -

<Limit GET HEAD POST>
order allow,deny
deny from 100.100.1.100
allow from all
</LIMIT>

Reply

BFJF
Try this link.
http://www.hostmonsterforums.com/showthread.php?t=2352

Notice from jlhaslip:
Three word answers are considered Spam on this Board.
Please read the Rules in the trap17 readme.

Reply

Watermonkey
I didn't find reading that link terribly helpful. For one thing, it really doesn't reach a conclusion. A good idea brought up is to block a specific MAC address, which must be possible, but pretty obscure information. In the future, assuming you're here to earn hosting credit, sum up the content contained within this other forum to form your own fresh content relevant to the subject at hand. You're not going to gain anything but spam warnings with three-word responses. I'd personally be interested in learning how to block specific machines from accessing my web site. But, then, I'd also like to be able to beat NSA computers in the encryption game... And, for the original poster at that other forum, when you're constantly harassed by a 13 year old, it's still harassment and there's still a law being broken, even if the parents don't act responsibly. If this is you, keep records of your incoming cell phone calls, and keep records of the comments he leaves on your web site to show the juvenile authorities.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. "ban ip " livejournal - 360.38 hr back.
  2. ip ban - 1299.63 hr back.
Similar Topics

Keywords : visitors ip ban


    Looking for block, bad, visitors, ip, ban

Searching Video's for block, bad, visitors, ip, ban
advertisement



How To Block Bad Visitors - IP ban



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE