How can I prevent changing of networks?
Require Administrator for AirPort

You can set up your computer to require an administrator password to change AirPort settings, including changing networks.


Open System Preferences → Network.


Select your WiFi service in the services list.


Click Advanced… in the bottom-right corner.


Select the options that you would like to require administrator authorization for.


Click OK, then Apply.