473,748 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disabling internet access

I want to write a small service that will simply disable internet
access from my kids PC between certain times (to make sure they do
their homework, etc). I know I could buy any number of internet
monitoring software but I don't want to act as 'big brother'.

What would be the simplest, most reliable way to do this using c#?

Jan 14 '07 #1
3 3796
It depends on how you are connecting to the internet. We are connecting
through a LAN and I have built a simple application that changes IP address
to an address that is invalid on our network when the internet connection
should not be available. When your kids are small enough (not yet hackers
:-) ) you could change the shortcut they use to connect to the internet (or
to start applications they use on the internet) to point to a C# application
that checks whether the time is suitable for them to connect and
start/dismiss the desired application.

<ri************ ***@gmail.comwr ote in message
news:11******** **************@ a75g2000cwd.goo glegroups.com.. .
>I want to write a small service that will simply disable internet
access from my kids PC between certain times (to make sure they do
their homework, etc). I know I could buy any number of internet
monitoring software but I don't want to act as 'big brother'.

What would be the simplest, most reliable way to do this using c#?

Jan 14 '07 #2
On Sun, 14 Jan 2007 18:06:47 +0100, "Lebesgue" <le******@gmail .com>
wrote:
>When your kids are small enough (not yet hackers
:-) ) you could change the shortcut they use to connect to the internet (or
to start applications they use on the internet) to point to a C# application
that checks whether the time is suitable for them to connect and
start/dismiss the desired application.
Would that stop them if they were connected when the time changed from
allowed to disallowed?

rossum

Jan 14 '07 #3
Would that stop them if they were connected when the time changed from
allowed to disallowed?
It depends on you how you implement the mechanism, of course... changing the
IP adress to an invalid one virtually stops the internet connection (no more
packets can be sent or received from the internet). It all depends on what
your particular scenario looks like.
Jan 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1422
by: Adam Monsen | last post by:
It would be helpful to be able to temporarily disable AF_INET socket connections (I don't care about IPv6 for now). What I'd like to do is create an environment for a Python script that appears like the network interface is down, so any remote socket stuff should fail (like an HTTP GET request to Google's home page, for example). Anyone know an easy way to do that? Maybe by manipulating the socket module or something? I'd still like...
2
7792
by: Jeelz | last post by:
Hi Guyz, Would appriciate any tip on disabling an ASP.NET LinkButton using client sided code like javascript. My Requirement is such that the user should be allowed to click on the link button only once (viz. he should not be allowed to submit the form twice). This stuff is easy when using a ASP:Button or HTML Button... but a link button has got me wondering how... plz help!
12
2269
by: Nalaka | last post by:
Hi, I suddenly started getting a lot of errors from html validation (some CSS) so I followed the following instructions to disable it. If you'd rather not have these types of HTML validation errors show up in your error-list, you can disable this functionality by selecting the Tools->Options menu item in VS or Visual Web Developer. Select the TextEditor->Html->Validation tree option in the left-hand side of the
1
2809
by: kebabkongen | last post by:
Hi, I'm working on a JavaScript that is enabling / disabling a select element according to whether a checkbox is selected or not. This works fine in Firefox, but in Internet Explorer (v 6.0.2900) it appears wierd: When I disable the selevt element in IE, it continues to appear as enabled (falsely) until I try changing it. When I click on it, updates itself as grey as to indicate that it is disabled.
2
2506
by: Axel Gallus | last post by:
Is it possible to disable the sandbox , respectively the private origin policy in internet explorer or firefox? Yes, i know there are a lot of security issues related to this topic, but i have to do it, because i wanna try something. Greetings Axel
11
42297
by: nosipho | last post by:
Hi guys, I've got this PC on my network. I can access everything on it on the network but I can't ping it. I tried pinging with the computer name and the IP adress aswell but It just doesn't want to ping. I can ping other workstations from it but not it. What's happening here Guys??
0
1813
by: hani1987 | last post by:
hello I am a BE computer student and needed information for my BE project. The project is as follows We are developing a web application for a company. This involves setting up a wi-fi hotpot for the company. So whenever a user enters the wi-fi area , he should be taken to the companies homepage or homepage of our web application irrespective of the webpage typed in his browser.After the 1st page is displayed, the user should be taken...
4
3734
by: Umenzi | last post by:
I'm looking for different methods of disabling all internet access that work on XP and Vista. It would need to be reversible. Preferably, these methods would be accessible through a python program (not the best for the task, but it's all I know). Some things I've considered: Modifying the registry in ...Software\Microsoft\Windows\CurrentVersion\Internet Settings -- Unfortunately, this doesn't block Firefox. (Does Firefox have a registry...
1
1685
by: harvcohen | last post by:
I would like to be able to disable at the very least web access from my home computer between 10PM and 6AM and if possible disable windows access altogether for that time period. Freedom only works with apple computers - is there some way of doing that to Windows XP PCs?
0
8831
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9552
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.