• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

how to block my web Application to entire china/any country ?

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to block my web Application to entire china/any country ?

Hello all,
I have created a web-based application, I want to block its access to china.

thanks in advance
 
Bartender
Posts: 20838
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A lot of effort goes into attempting to put up walls on the Internet, but they have only limited effectiveness. There is a whole culture dedicated to ways for people to bypass net censorship.

The easiest way to block a country is to firewall the IP addresses that are assigned to users within that country. That won't block people who use proxies, but will forbid direct access.
 
Sheriff
Posts: 13512
223
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm.... confiscate its passport? Put it on the "No Fly List"?

Seriously though, search for Geolocation in Java. I don't know if any solution will guarantee total success at blocking access; at best, maybe most but not all.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!