-2

I WANT TO WRITE A PROGRAM IN JAVA THAT RESTRICTS CERTAIN WEBSITES FROM BEING OPEN IN MY BROWSER... how can i do that ? or is it even can be done in java (concerning JVM i mean)

Exorcismus
  • 2,243
  • 1
  • 35
  • 68
  • 3
    Why the shouting? and what have you tried? – Reimeus Apr 12 '13 at 21:52
  • i don't know where to start... coz it seems that i need access to the browser or something else... which i dnt know and can't find – Exorcismus Apr 12 '13 at 21:56
  • 1
    you might want to configure proxy and controll allowed site from there, there are already tools available why you need to rewrite? – jmj Apr 12 '13 at 22:00
  • 1
    You [asked the same question just a few minutes ago](http://stackoverflow.com/questions/15981054/what-happens-inside-when-i-restrict-a-website-in-a-browser). – maba Apr 12 '13 at 22:04
  • thx found what i was looking for... seems that the site can be blocked by editing the hostfile in systems file... – Exorcismus Apr 23 '13 at 18:34

1 Answers1

3

Do you want to block web pages for only a certain web browser or all of them? If you want to block access to a certain webpage consider editing the Host File manually

q99
  • 961
  • 2
  • 13
  • 27