This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 17033
    
  26

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.


An IDE is no substitute for an Intelligent Developer.
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 6286
    
  15

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 ?
 
jQuery in Action, 3rd edition