SIGforum
Is there a way/program to block YouTube on a PC

This topic can be found at:
https://sigforum.com/eve/forums/a/tpc/f/320601935/m/1120025974

February 11, 2021, 11:00 AM
BB61
Is there a way/program to block YouTube on a PC
I need a way to block YouTube and other cites on a PC. My son is more interested in doing everything but his homework when he is on his computer.

Thanks in advance.


__________________________

February 11, 2021, 11:08 AM
Shaql
Win10 Windows defender has the ability to create inbound and outbound rules.

Type "Firewall" in the search bar
Click on "advanced settings"
click on "inbound rules" on the left
click on "new rule" on the right.





Hedley Lamarr: Wait, wait, wait. I'm unarmed.
Bart: Alright, we'll settle this like men, with our fists.
Hedley Lamarr: Sorry, I just remembered . . . I am armed.
February 11, 2021, 11:46 AM
Xer0
Edit the hosts file with the line:
0.0.0.0 www.youtube.com


It's located in the c:\windows\system32\drivers\etc. This file has no extension (i.e. .txt). It's name is simply hosts. Windows refers to this file for IP address resoltion before it tries the DNS server for name resolution. By associating youtube.com to IP address 0.0.0.0, it won't load anything since there's nothing to load/find at that IP address. You'll need administrator priviledges to modify the file. Just search "modifying Windows hosts file" for easy tutorials. You can do that to easily block any other Internet sites too.

Yes if your kid knows his stuff, he could probably fix or get around it, but the hosts file is pretty arcane knowledge for most people.
February 11, 2021, 12:06 PM
smschulz
quote:
You'll need administrator priviledges to modify the file.


quote:
Yes if your kid knows his stuff, he could probably fix or get around it, but the hosts file is pretty arcane knowledge for most people.


And then NOT make him an admin on his computer.
Still, yes there are ways to reset/bypass but even harder to do.
February 11, 2021, 12:42 PM
mjlennon
Why not just add it to blocked sites in the router?
February 11, 2021, 01:37 PM
V-Tail
quote:
Originally posted by mjlennon:

Why not just add it to blocked sites in the router?
If the kid has his own computer, and other family members use different computers, then blocking it in the router would block it for everybody. I think that BB61 just wants to block it in his son's computer.
My wife and I are empty nesters now, so we have no need for anything like this, but isn't there some sort of app that provides parental controls, so that when the boy finishes his homework, Dad could easily enable youtube for an hour or so? Would be nice for Dad to be able to do this from his own computer, or even tablet or phone.



הרחפת שלי מלאה בצלופחים
February 11, 2021, 01:55 PM
bigdeal
quote:
Originally posted by V-Tail:
quote:
Originally posted by mjlennon:

Why not just add it to blocked sites in the router?
If the kid has his own computer, and other family members use different computers, then blocking it in the router would block it for everybody. I think that BB61 just wants to block it in his son's computer.
My wife and I are empty nesters now, so we have no need for anything like this, but isn't there some sort of app that provides parental controls, so that when the boy finishes his homework, Dad could easily enable youtube for an hour or so? Would be nice for Dad to be able to do this from his own computer, or even tablet or phone.
I'm guessing here, but couldn't BB61 set up a separate SSID in his router for the son (and his computer) and then block Youtube.com from that SSID? Of course that also assumes the son connects via WiFi.


-----------------------------
Guns are awesome because they shoot solid lead freedom. Every man should have several guns. And several dogs, because a man with a cat is a woman. Kurt Schlichter
February 11, 2021, 04:44 PM
cne32507
What I am amazed at is the son uses a pc. Is this a time warp? 2000 A.D.? Phones man! The kid ain't dumb!
February 11, 2021, 09:23 PM
Aeteocles
You are treating the symptom, not the problem.

Command him to stay off of YouTube. Punish him accordingly if he disobeys.
February 11, 2021, 09:56 PM
Beancooker
quote:
Originally posted by Aeteocles:
You are treating the symptom, not the problem.

Command him to stay off of YouTube. Punish him accordingly if he disobeys.


I’m not a parent, haven’t been, and won’t ever be. That said, this sounds like solid advice.

Easy to say though, as I’m not the parent.



quote:
Originally posted by sigmonkey:
I'd fly to Turks and Caicos with live ammo falling out of my pockets before getting within spitting distance of NJ with a firearm.