Log in

View Full Version : How can I block signups by IP address?


plasticsurgery
02-18-2009, 01:58 AM
I have a financial forum that receives an awful lot of spammers/scammers from countries in Africa and parts of Asia. In fact, 100% of members from many of these countries have fallen under this category, and they represent nearly 50% of new members. I had to change the settings to manually authorize members, but is there an easier way I can automatically disapprove signups from certain countries based on IP? I have no problem banning everyone from these countries if possible. Thanks

Bawtneez
02-18-2009, 02:05 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=141554&highlight=Ban+Timezone" target="_blank">https://vborg.vbsupport.ru/showt...t=Ban+Timezone</a>
You could try that, if they register under certain time zones.

plasticsurgery
02-18-2009, 02:08 AM
Thanks, unfortunately I notice most of them don't bother completing the time zone field so they wouldn't be caught by this.

What about blocking IP ranges? Is it feasible to block the entire IP ranges of countries?

Bawtneez
02-18-2009, 02:22 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=129280&highlight=Block+IP%2A+Regist%2A" target="_blank">https://vborg.vbsupport.ru/showt...P%2A+Regist%2A</a>

How about that?

snakes1100
02-18-2009, 03:36 AM
In your public_html/root folder, place a .htaccess file and add the following to it.

<Files *>
order allow,deny
allow from all
deny from 41.0.0.0/8
</files>

View the countries here:
http://www.ipdeny.com/ipblocks/

41.0.0.0/8 will kill all of the 41 range.