Block USB on Mac

Block USB on Mac

We have successfully deployed a configuration policy to our Windows Devices which stops them from using USB Mass Storage.

I have been trying to replicate this for MacBook's but so far haven't found a solution. The only article I could find stated that the script had depreciated and to look at a different (paid for) solution.

Is there any way I can block USB's on a Mac without having to pay for additional tools?

Thank you 

                  New to ADSelfService Plus?