Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# 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 13:39pm
Edited 10-Dec-12 9:20am
Kschuler33.2K
v6
Comments
Sergey Alexandrovich Kryukov at 9-Dec-12 21:18pm
   
Poor, poor users... :-(
--SA
aspnet_regiis -i at 9-Dec-12 23:07pm
   
:)
Dammie Paul at 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 at 10-Dec-12 12:07pm
   
Dear Dave,
 
Thanks for your response!!!
 
Please could you elaborate?
 
Thank you.
Dave Kreskowiak at 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
0 Sergey Alexandrovich Kryukov 289
1 OriginalGriff 225
2 DamithSL 165
3 Kornfeld Eliyahu Peter 105
4 Peter Leow 105
0 OriginalGriff 7,355
1 DamithSL 5,254
2 Sergey Alexandrovich Kryukov 4,942
3 Maciej Los 4,906
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2014
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