How to protect mac from threat