Disable System Integrity Protection (SIP)

MacOS Sierra has a stricter Gatekeeper with not allowing Apps from unidentified developers and as a result will annoy us with saying that application is damaged and cannot be opened.

How to Disable System Integrity Protection (SIP) for MacOS Sierra?

With the following 2 options:

Option 1

For a certain application run in Terminal:

sudo xattr -rd com.apple.quarantine /Applications/LockedApp.app

Option 2

To disable checks globally (example: allow apps from anywhere) run in Terminal:

sudo spctl --master-disable