Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2008, 02:32 PM
WebProWorld New Member
 

Join Date: Jul 2008
Posts: 7
mrl72 RepRank 0
Default Blocking non-US IPs?

Can anyone recommend a method/service for blocking access to non US IP addresses? I've tried a couple of web services but nothing 100% reliable.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 10-07-2008, 04:23 PM
WebProWorld Member
 

Join Date: Jun 2006
Posts: 56
thorfjalar RepRank 0
Default Re: Blocking non-US IPs?

Do you need to block access from personal computer to websites with non-US IP or block access to website from computers with non-US IP?
Reply With Quote
  #3 (permalink)  
Old 10-07-2008, 06:32 PM
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 289
Tech Manager RepRank 1
Default Re: Blocking non-US IPs?

Quote:
Originally Posted by mrl72 View Post
Can anyone recommend a method/service for blocking access to non US IP addresses? I've tried a couple of web services but nothing 100% reliable.

Thanks!
Sure thing. Go to Country IP Blocks. You can create your country specific access control lists in seven different formats. You can select one or all 247 different countries and instantaneously generate .htaccess deny/allow lists or produce lists to meet your formatting needs.

The database contains information on 4.3 billion IP addresses and is completely refreshed each day with the latest RIR information.

Country IP Blocks: Network Allocations by Country with Searchable IP Database
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #4 (permalink)  
Old 10-08-2008, 09:28 AM
WebProWorld Veteran
 

Join Date: Jun 2005
Location: LA, USA
Posts: 567
Clint1 RepRank 1
Default Re: Blocking non-US IPs?

Quote:
Originally Posted by mrl72 View Post
Can anyone recommend a method/service for blocking access to non US IP addresses? I've tried a couple of web services but nothing 100% reliable.

Thanks!
I use cPanel's "IP Deny" area which adds entries to the .htaccess file. This is only on Unix/Apache servers though.
__________________
God Bless
-Clint
Reply With Quote
  #5 (permalink)  
Old 10-09-2008, 08:41 AM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,880
kgun RepRank 3kgun RepRank 3kgun RepRank 3
Default Re: Blocking non-US IPs?

Quote:
Originally Posted by Clint1 View Post
I use cPanel's "IP Deny" area which adds entries to the .htaccess file. This is only on Unix/Apache servers though.
Interesting. What is your experience with it?
Reply With Quote
  #6 (permalink)  
Old 10-09-2008, 12:17 PM
WebProWorld Veteran
 

Join Date: Jun 2005
Location: LA, USA
Posts: 567
Clint1 RepRank 1
Default Re: Blocking non-US IPs?

It works fine. However, (LONG story short), there's some serious bugs with regards to that in combination with Hot Link Protection. If you don't use HL Protection, you're ok. Otherwise you have to manually edit the htaccess file forget about the cPanel easy-edit interfaces. So I just manually paste IP's or partial IP's in the htaccess file.

deny from 123. blocks everything beginning with "123". deny from 124.567.890 only blocks that specific IP address.
__________________
God Bless
-Clint
Reply With Quote
  #7 (permalink)  
Old 11-06-2008, 11:11 AM
netman4ttm's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 391
netman4ttm RepRank 1
Default Re: Blocking non-US IPs?

We block at the firewall. Using PF from BSD, but any decent Firewall can be used.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
  #8 (permalink)  
Old 11-06-2008, 11:33 AM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,880
kgun RepRank 3kgun RepRank 3kgun RepRank 3
Default Re: Blocking non-US IPs?

"The future is here. It's just not evenly distributed.

Hm.

IMO it is too early to know the future.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP Blocking whatever Webmaster Resources Discussion Forum 3 06-04-2008 07:07 PM
Would I be blocking Google? business-directory Google Discussion Forum 7 03-01-2008 09:08 AM
Blocking IP's MrLeN Web Programming Discussion Forum 3 01-25-2006 06:27 AM
Am I somehow blocking spiders? malcolm Search Engine Optimization Forum 1 05-23-2004 06:36 AM
Pop up blocking Greyhawk Breakroom (General: Any Topic) 7 01-29-2004 09:43 AM


Search Engine Optimization by vBSEO 3.2.0