Is there a way to block youtube.com and other distracting site like facebook.com when my Laptop is connected via android hotspot at my phone's end i.e. blocking sites via android hosts file. After reading the following techrepublic article, makes me think it's possible but not sure so asking this question.
To edit phones hosts file, android phone must be rooted so I want to be sure before rooting my phone,
If this is not the correct approach then what other options are available.