Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#ASP.NETVB.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
Kschuler31.6K
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
Your Filters
Interested
Ignored
     
0 Shai Vashdi 963
1 Tadit Dash 270
2 Sergey Alexandrovich Kryukov 250
3 OriginalGriff 233
4 Peter Leow 180
0 Sergey Alexandrovich Kryukov 9,435
1 OriginalGriff 5,498
2 Peter Leow 4,230
3 Maciej Los 3,540
4 Abhinav S 3,353


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