• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can directing to a specific site be avoided by any means using servlets  RSS feed

 
manisha veeranki
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to block directing to a specific site using servlets. For eg, when yahoo.com is typed in url box, the network connection should turn off, whereas when you type some other website url, say, google.com, the network connection should remain intact. (maybe by working on ip filters??)
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Manisha!

No, that is not possible. I'm assuming that you want to use servlets as some sort of site filter, and the only way that they could do that would be if you'd set up a Java webapp to serve as a proxy server. Which would be more trouble than it's worth, especially since there are ready-made appliances available for that function.

Servlets also physically cannot alter client ip filters/firewall. Which is just as well, since some really horrible malware would be possible otherwise.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!