I want to block internet access on my computer
I'm surfing the web too much and it is distracting me from my work. If I could somehow block access to the internet and then come up with some very long password to unlock it and then hide the password, that would really help things. I have already tried the solution where I have my computer divided into an admin and a user and the admin blocks the apps of the user but that solution has a lot of problems with it. I have to log out of the user and log into the admin and that takes too much time. If there was just some way to make it so that network preferences could only be changed with password that would do it.
MacBook Pro, OS X Yosemite (10.10.1)