Jump to content

Guesbook spam


Sami

Recommended Posts

Hi.Somebody are spamming in my (homemade) guestbook whit adds.I've tried to IP-ban them, but theyre changing it:190.144.87.108190.144.87.109How can I limit the access to post to scandinavia(Norway, Sweden and Denmark)?

Link to comment
Share on other sites

You can use an IP geolocation service to check users' locations via their IPs. These usually cost though.Why don't you just implement anti-spam systems, like CAPTCHAs and content filters like Akismet?

Link to comment
Share on other sites

Since you have the IP address, you can use an .htaccess file with these directives:Order Allow,DenyAllow From AllDeny From 213.5.71.12 # <-- If you change this to 213.5.71, it will block everything from 213.5.71.0 - 213.5.71.255Visitors will get a 403 - Forbiddenhttp://httpd.apache.org/docs/2.2/howto/access.htmlYou also might want to check out: http://www.ipdeny.com/

Link to comment
Share on other sites

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...