NSExceptionAllowsInsecureHTTPLoads 和 NSTirdPartyExceptionAllowsInsecureHTTPLoads 有什么区别?

What is the difference between NSExceptionAllowsInsecureHTTPLoads and NSThirdPartyExceptionAllowsInsecureHTTPLoads?

在 iOS 9 中,我可以向我的 info.plist 添加密钥以禁用 App Transport Security。有两个key,NSExceptionAllowsInsecureHTTPLoadsNSThirdPartyExceptionAllowsInsecureHTTPLoads,定义为:

An optional Boolean value that, when set to YES, allows insecure HTTP loads. Use this key to describe your app’s intended network behavior for a domain whose security attributes you have control over.

A version of the NSExceptionAllowsInsecureHTTPLoads key to be used to configure connections to a domain whose security attributes you don’t control.

它们指的是什么安全属性?为什么我的意图很重要?

在什么情况下我会使用其中一种而不是另一种?

看起来两者是一样的:

http://www.neglectedpotential.com/2015/06/working-with-apples-application-transport-security/