Posted on 01-09-2020 03:57 AM
Hi, I have a requirement to Disable external interfaces on a MacBook Pro. In the past we physically removed the card, any ideas how I can achieve this now? unload the drivers?
Posted on 01-09-2020 04:39 AM
I'm thinking crudely if I have the laptop pin a standard account they would not be able to modify network settings so I could scrip something like,
networksetup -setnetworkserviceenabled "Bluetooth Pan" off
networksetup -setairportpower "Wi-Fi" off
networksetup -setnetworkserviceenabled "USB 10/100/1000 LAN" off
networksetup -setnetworkserviceenabled "Thunderbolt Bridge" off
however I can still plug in an iPhone and use personal hotspot via a cable.
so I guess adding networksetup -setnetworkserviceenabled "iPhone USB" off
would fix that.