Is it possible to build a system that can control the network access of others computer by using .NET framework?

Locked Is it possible to build a system that can control the network access of others computer by using .NET framework?

  • Monday, April 16, 2012 3:27 PM
     
     

    As mentioned in the title, im now researching whether such system can be develop by using C# or not

    For e.g. In a computer lab, there are 20pc, 1 for tutor and 19 for students.

    All of them have the same gateway which pointing to 10.21.2.1. Student pc's with the ip address range from 10.21.2.101-10.21.2.119 while the ip for tutor pc is 10.21.2.100 All having the same proxy address in their browser, 10.2.1.4, which allow them to access the internet. All computers running windows Xp professional

    Now the question come, is it possible to develop a system which will ran on the tutor pc, and it can control the network access of student pc, either allow or disable them to access the network.

    Please advice, is it suitable to develop a system like that with C# programming? or i shall use Java, C or even C++?


    Houston Yap

All Replies

  • Monday, April 16, 2012 5:23 PM
     
     

    Hi,

    You can create an application which can run on each system as Windows Service and update the proxy based on database. You can programatically update the proxy as below

    http://msdn.microsoft.com/en-us/library/aa384113.aspx.

    But in a real time this is not a good idea to implement for security purpose. If you have access to Router Admin Web Page which can help blocking of IP based on filters then you can write code in your C# to automate those web requests of router web admin page.

    Thanks,


    Welcome to MSDN Forums. Feel free to ask your questions and Please Note to Vote helpful topics and Mark answering posts. Sudhakar

  • Monday, April 16, 2012 6:45 PM
     
     

    The teachers PC can act as a gateway router.  You can set the gateway PC on each of the students PC to the teachers PC.  You can then open 20 ports on the teachers PC(one for each student PC), therby controlling the access.  But why slow down the teachers PC.  It would be better to purchase a 20 port router with remote control that the teacher can control from his PC.


    jdweng

  • Saturday, June 09, 2012 2:22 PM
     
     

    Hi Joel

    Due to the environment, we cant control the network access of students PC through router ,hardware level..

    thats why an ideal to control the network of students PC is form, because the teacher only control the teachers PC at certain time.


    Houston Yap