This would be probably the right solution. However exclusion list on the Mac is not yet implemented. (It’s planned feature though).
Regards, Mity