Forums

Banning IP addresses - Resolved

simong 14 Apr, 2009
Hi guys

Thanks for a great app. Always get what I need to from this app, consistently!!

I have a question, fairly broad though. I have a very elementary form on my website... name and email address only (to subscribe to a newsletter) and the site is being contently spammed by a guy in Russsia with an IP address of 213.163.65.73. Now he uses (or he and his mates) this and another one or two; what I am anxious to do is invalidate this IP address.

Does anyone have a script or is there somewhere I can add this address to void his junk? That is it!

Any help would be appreciated

Simon
simong 14 Apr, 2009
OK OK I hear you screaming!!!

the quickest and easiest method to do, is external.

If having an "htaccess" file, add the following:

<limit GET>
order allow,Deny
Deny from 000.000.00.00
allow from all
</Limit>

each IP to be denied should have its own line... ie Deny from 000.000.00.00
all lines as they are above.

Simon
GreyHead 14 Apr, 2009
Hi Simon,

Sorry, I missed this post the first time around. That looks like a good fix. You could also create a filter in the form html - but it would carry more overhead.

Bob
This topic is locked and no more replies can be posted.