Need help with usb-ports

Hello! 


I'am infosec and i have a task to harden MacOS. I'm stuck at the stage of disabling USB ports.


During my research, I found out that it is not possible to disable the IOUSBMassStorageDriver.kext kernel module, and the only configuration profile feature, harddisk-external, has been deprecated. Everything looks like it's absolutely impossible to do now (or I'm a bad researcher, who knows ). 


Due to the fact that I do not want to use third-party software, I began to look towards writing the simplest utility in swift. Please tell me what function can solve this problem, if at all possible.

Posted on Apr 10, 2023 1:48 PM

Reply

Similar questions

3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Need help with usb-ports

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.