Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear experts,

Please I would like to know how to arbitrarily specify how long any PC on my LAN can access the Internet and once that time has elapsed, access should be denied. I have thought of using Windows Firewall API, but I don't know how to go about it.

Please, I would love to know how to achieve this time-based Internet access restriction using C# or VB.Net code through whatever technique you deem necessary.

Thanks in advance.
Posted
Updated 10-Dec-12 8:20am
v6
Comments
Sergey Alexandrovich Kryukov 9-Dec-12 21:18pm    
Poor, poor users... :-(
--SA
bbirajdar 9-Dec-12 23:07pm    
:)
Dammie Paul 10-Dec-12 12:05pm    
Hi Sergey,

Could you please explain?

Thanks

1 solution

An external proxy server would do this. You'll either buy one off-the-shelf or have tow rite your own. I sure hope you know TCP/IP, Sockets, proxy servers and standards, ...
 
Share this answer
 
Comments
Dammie Paul 10-Dec-12 12:07pm    
Dear Dave,

Thanks for your response!!!

Please could you elaborate?

Thank you.
Dave Kreskowiak 10-Dec-12 15:22pm    
http://en.wikipedia.org/wiki/Proxy_server

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900