macOs sierra download app from anywhere

ZZ:http://osxdaily.com/2016/09/27/allow-apps-from-anywhere-macos-gatekeeper/



Allow apps from anywhere in Gatekeeper for macOS

Gatekeeper in macOS Sierra is now stricter than ever, defaulting to only allow options for apps downloaded from either the App Store or the App Store and identified developers. Advanced Mac users may wish to allow a third option, which is the ability to open and allow apps downloaded from anywhere in macOS Sierra.


To be clear, the “Allow applications downloaded from anywhere” option is hidden by default in Gatekeeper for macOS Sierra. You can see this by going to the Security & Privacy preference panel, and under the “General” section you will not find such an option for Gatekeeper app allow settings. Despite that, with a little command line intervention you can reveal the third option and regain the ability to open apps that come from anywhere.

This is not recommended for most Mac users, only advanced Mac users and developers who have the ability to accurately gauge app validity should use this method, which involves disabling Gatekeeper from the command line, thereby removing the standard Gatekeeper security mechanisms in Mac OS. 

How to Allow Apps from Anywhere in Gatekeeper for macOS Sierra

  1. Quit out of System Preferences
  2. Open the Terminal app from the /Applications/Utilities/ folder and then enter the following command syntax:

    sudo spctl --master-disable

  3. Hit return and authenticate with an admin password

    Allow gatekeeper apps from anywhere macOS

  4. Relaunch System Preferences and go to “Security & Privacy” and the “General” tab
  5. You will now see the “Anywhere” option under ‘Allow apps downloaded from:’ Gatekeeper options

    Allow gatekeeper apps from anywhere in macOS

You’ll now be able to open and launch apps from anywhere under macOS Sierra, but be forewarned this turns off Gatekeeper and is not recommended for the vast majority of Mac users. Allowing apps from anywhere including unidentified developers can potentially leave a Mac vulnerable to certain malware and junkware and should be avoided by all Mac users with the exception of those with genuinely advanced abilities.

Another approach is to manually add Gatekeeper exceptions via the command line, a solution which may be more appropriate than simply allowing everything to skirt past Gatekeeper.

Returning to Default Gatekeeper Security in macOS Sierra

You can also reverse this and go back to the default strict Gatekeeper settings of only allowing apps from the Mac App Store and identified developers by issuing the following command string:

sudo spctl --master-enable

Hitting return and re-authenticating will return macOS Gatekeeper back to its strict default state of disallowing random apps from launching. 

Default Gatekeeper security in macOS

Nearly every Mac user should leave this feature enabled in the default state. If you do not have the ability to easily discern which apps are legitimate or not, you should absolutely not change this option. The “app can’t be opened because it is from an unidentified developer” message is there to offer protection to the vast majority of Mac users and should not be ignored.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值