aspose file tools*
The moose likes JSP and the fly likes how to block my web Application to entire china/any country ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to block my web Application to entire china/any country ?" Watch "how to block my web Application to entire china/any country ?" New topic
Author

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

Abdul Aatif
Greenhorn

Joined: Feb 08, 2012
Posts: 23
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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4756
    
    7

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.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to block my web Application to entire china/any country ?