Click here to Skip to main content
12,251,332 members (68,599 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# VB ASP.NET VB.NET
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 9-Dec-12 12:39pm
Edited 10-Dec-12 8:20am
Kschuler34.6K
v6
Comments
   
Poor, poor users... :-(
--SA
aspnet_regiis -i 9-Dec-12 23:07pm
   
:)
Dammie Paul 10-Dec-12 12:05pm
   
Hi Sergey,

Could you please explain?

Thanks

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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, ...
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100