Stopping Network Access

J

jasco4617

I am working on a school project which consists of cutting of network
access of a workstation. I am writing this in C#. I have been doing
some research to find the best way to do this, basically I want to make
it so it is very hard to regain access unless the program lets you.

I came across the TCP/IP Protocol Driver and was going to try and stop
it to see if that would do the trick and then start it back up when
ever I wanted access to be regained. However, when ever I try to stop
it it fails. Why would this be?

Also, what other ways are there for cutting network access? I have
thought of possibly packet filtering, but not sure how to impliment
that in C# under winXP.

Thanks for your help,
Patrick
 
H

Hans-Georg Michna

I am working on a school project which consists of cutting of network
access of a workstation. I am writing this in C#. I have been doing
some research to find the best way to do this, basically I want to make
it so it is very hard to regain access unless the program lets you.

I came across the TCP/IP Protocol Driver and was going to try and stop
it to see if that would do the trick and then start it back up when
ever I wanted access to be regained. However, when ever I try to stop
it it fails. Why would this be?

Also, what other ways are there for cutting network access? I have
thought of possibly packet filtering, but not sure how to impliment
that in C# under winXP.

Patrick,

try to disable the network adapter.

Hans-Georg
 
J

jasco4617

yes, I was going to do that, but then it woudl be very easy to work
around it by just reenabling the network adapter(s).

I have come across something that will basically let me create a simple
firewall and I plan on just using that to block all outgoing traffic.

Thanks,
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top