Re: How to block internet connectivity
Andrew Oliver <[email protected]> Fri, 7 Oct 2011 21:03:33 -0700
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <CAF9=+5Ot+NZ+wBFOtYUxbEZfvhKJKhCoFGb7Mjy_2xh=knbXeg@mail.gmail.com> |
But you could probably even do a net stop using java 'Process' On Oct 7, 2011 7:56 PM, "Chris Merrill" <[email protected]> wrote: > On 10/7/2011 9:04 PM, Pankaj Agarwal wrote: > > Can it be done programmatically, using Java code? > > ONLY Java code? No, you'll need to go native. > > > Thanks, > > > > - pankaj > > > > -----Original Message----- > > From: Andrew Oliver [mailto:[email protected]] > > Sent: Friday, October 07, 2011 6:47 PM > > To: Pankaj Agarwal > > Cc: Triangle Java User's Group > > Subject: Re: [Juglist] How to block internet connectivity > > > > The windows firewall should do it. Block port 80 and 443. > > > > On Fri, Oct 7, 2011 at 1:48 PM, Pankaj Agarwal <[email protected]> > wrote: > >> Hi, > >> > >> > >> > >> Does someone in this list have experience with writing code for > >> temporarily blocking internet connectivity, specifically http > >> connections from a browser. What I am trying to do is block any > >> browser from accessing the internet for a specified period of time. > >> I am looking for a solution for either windows or OS X or both. If > >> someone can help me but needs further details, please let me know. > >> > >> > >> > >> Thanks, > >> > >> > >> > >> - Pankaj > >> > >> > >> > >> -------------------------------------- > >> > >> Pankaj Agarwal, M.S > >> > >> Bioinformatics Shared Resource > >> > >> Duke Cancer Institute > >> > >> Duke University > >> > >> 919-681-6573 > >> > >> [email protected] > >> > >> > >> > >> _______________________________________________ > >> Juglist mailing list > >> [email protected] > >> http://trijug.org/mailman/listinfo/juglist_trijug.org > >> > >> > > > > _______________________________________________ > > Juglist mailing list > > [email protected] > > http://trijug.org/mailman/listinfo/juglist_trijug.org > > > > > > > -- > ------------------------------------------------------------------------ - > Chris Merrill | Web Performance, Inc. > [email protected] | http://webperformance.com > 919-433-1762 | 919-845-7601 > > Web Performance: Website Load Testing Software & Services > ------------------------------------------------------------------------ - > > _______________________________________________ > Juglist mailing list > [email protected] > http://trijug.org/mailman/listinfo/juglist_trijug.org > _______________________________________________ Juglist mailing list [email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org