1

We have been asked by a client to deliver different content (warnings, "this page unavailable" pages, etc) to French users due to a new French law. This needs to be implemented by Jan 1.

On the server side, how is this done? We are running IIS on Windows Server 2008.

EDIT: Yes, I know to use a geolocation service. But are there settings in IIS to do this with? Or do I need to have the entire site rewritten?

easyegoism
  • 13
  • 4

2 Answers2

0

Your best bet is to implement a GeoIP lookaside module somehow. The specifics of how to do so will depend on what module you use and what language your web site is in (e.g. PHP, ASP, Perl, Python, etc). It's not completely follproof, but it should provide sufficient evidence of a good-faith attempt to comply with the law to avoid legal trouble. (Please note I am not a lawyer, so if you're worried about legal issues you should consult with an experienced attorney.)

John
  • 8,920
  • 1
  • 28
  • 34
  • This sounds like what one of the developers wants to do as well. I'll check on what the best solution is for the legal status. – easyegoism Dec 06 '12 at 19:51
0

There are several companies which provide databases, that allow you to detect the country of the user based on the IP.

It is my impression after doing research that MaxMind is the most popular one. They give you the data which you can import into a SQL database, and use that to do calculations that determine what the location of the user is.

I've used MaxMind with success, but am otherwise un-affiliated with them.

Not Now
  • 3,532
  • 17
  • 18