Solved

How can I restrict non US website address from hitting my site

Posted on 2012-03-23
4
364 Views
Last Modified: 2012-04-17
My website is only able to sell to US residents until I employ other measures. Total bummer... Its just going to take a bit more programming but in time I will be available worldwide. My question is how can I restrict non United States IP addresses from reaching my server? I will try and build another page to forward them to a page saying we are working on worldwide support. Until the page is built is there a way to limit the ip addresses to just be verified to be in the United States? Also for a security measure I would like to employ this because I keep getting port scanned and such from non us ip addresses. Trying to hack me for sure. Any help is greatly appreciated.
0
Comment
Question by:jeffmeverett
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
Khandakar Ashfaqur Rahman earned 250 total points
Comment Utility
Please check the following URL:
http://forums.iis.net/t/1172103.aspx
0
 

Author Comment

by:jeffmeverett
Comment Utility
The article is somewhat informative but I still know this can be done and is. Before I decide to close this question I will keep it open for 2 days to see if I get any more detailed responses. Thanks!
0
 
LVL 4

Assisted Solution

by:senseifedon
senseifedon earned 250 total points
Comment Utility
Hi;
Please can you tell me which server OS are you use? If you are using Linux, you can use this link: http://ipinfodb.com/ip_country_block.php

There are three different list for your server. If you choose iptables, then countries to block, you can have script easily.

Hopefully help.
0
 

Author Closing Comment

by:jeffmeverett
Comment Utility
This is a good place to start the article above from rigan123 as well the iptable blocks from senseifedon. I was unsuccessful and after reading more posts around the web this may be more difficult than first thought. Although I have heard its very easy as well. Best of luck to anyone who has success. I will update the questions in the database if I am successful at the time of deployment.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Wikipedia defines 'Script Kiddies' in this informal way: "In hacker culture, a script kiddie, occasionally script bunny, skiddie, script kitty, script-running juvenile (SRJ), or similar, is a derogatory term used to describe those who use scripts or…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now