Apple has a built-in way to protect you from opening up potentially malicious apps on your computer in Mac OS X Lion, Mountain Lion, Mavericks, Yosemite, El Capitan, and macOS Sierra. This setting, named Gatekeeper, will never stop you from installing apps from the Mac App Store, but it could from anywhere else. If it's an app you're sure you want to install on your system, here's how to do it.
Choosing Your Gatekeeper Options
Open up your "System Preferences" and head to "Security & Privacy."
In the "General" tab, you'll see a section called "Allow apps downloaded from." In order to change these settings, you'll have to click on the lock icon below and input your admin password. Once that's out of the way, you can choose between three options:
- Mac App Store
- Mac App Store and identified developers
1. Just the Mac App Store
The safest option to choose here would be the "Mac App Store," since Apple reviews all apps that are accepted in their store and can remove them quickly if necessary. Basically, you'll know that your Mac will be as free as possible from malware if you use this option only.
2. Mac App Store & Trusted Developers
The next option also trusts apps from "identified developers," which are basically developers with a unique Developer ID from Apple who have their apps signed digitally. This is the option I use, since Apple can verify that there hasn't been any tampering with the apps since they were signed.
3. Apps from Anywhere
The last option, "Anywhere," obviously removes Gatekeeper's blocking capabilities on your Mac, letting you install and open any app off the internet, including Automator apps made by individuals. Sometimes these things have malware baked in, so I would recommend using the "identified developers" option and okay installation of apps missing a Developer ID on a case-by-case basis.
Trusting Apps on a Case-by-Case Basis
If you have the "Mac App Store and identified developers" option selected, then whenever you download an app without a Developer ID and try to open it, you'll get the following warning.
- "App Name" can't be opened because it is from an unidentified developer
To bypass this restriction, select "OK" on the popup to close it, then go into the "Security & Privacy" section in your "System Preferences." Below the Gatekeeper options in the "General" tab, you'll see the app that was blocked from opening. To trust it, select "Open Anyway" and that's it.
An Even Shorter Way to Open Them
If you don't want to go into Systems Preferences to open an app for the first time as shown above, then simply Control+Click on the app in the Finder, then select "Open." You'll see a new popup asking if you're sure you want to run the app on your Mac. Just hit "Open" again and you're set.
Big thanks to Michael Cunningham for bringing this trick to my attention in the comments below.
This is the best way to keep your Mac running malware-free, while still being able to download and use cool apps that haven't been signed yet. This includes a lot of Automator actions built by regular users to streamline a certain process, like resizing images for the web automatically just by dragging and dropping photos into the app.
If you were to build an Automator app yourself, Gatekeeper wouldn't block you from opening it since you never downloaded it from the internet, but any you get from us would.
For more information on how Gatekeeper works, check out Apple's overview.
Keep Your Connection Secure Without a Monthly Bill. Get a lifetime subscription to VPN Unlimited for all your devices with a one-time purchase from the new Gadget Hacks Shop, and watch Hulu or Netflix without regional restrictions, increase security when browsing on public networks, and more.
Other worthwhile deals to check out:
Thanks Justin - after some frustration I clued this one out and was just about to put up a similar post.
The other way is to ctrl-click the icon in finder for the app from an "unidentified developer" and when given a warning message, click on the Open button. (As always, cmd-click on the icon opens the location in finder)
You are awesome. That's an amazing shortcut. I've added it to the guide as a faster method. :)
You can also make a new folder and move the package contents from the app to the new folder name the folder and put .app at the end and it should launch without a change in settings. Like if you have an admin that won't let you change setting.
Share Your Thoughts