TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Handling App Transport Security in iOS 9

123 pointsby Kallikratesover 9 years ago

12 comments

alexbockover 9 years ago
Intentionally disabling security settings for your entire application just to allow advertising from companies who haven't upgraded their infrastructure seems quite user-hostile. Google is a big supporter for HTTPS, strong certificates, etc., but apparently only when it doesn't affect their bottom line. If Google told their advertising networks that they need to be using HTTPS or they won't be available for iOS users they would probably get secure connections up and running pretty quickly.
评论 #10130158 未加载
cromwellianover 9 years ago
Seems they&#x27;re between a rock and a hard place. When Google proposed HTTPS everywhere, a number of people took exception because not all content has sensitive data needing protection.<p>I guess the real question is whether an HTTP call to load an ad copy is sensitive content. I think you can make an argument that it is sensitive content, because if I were monitoring your connection, and everything was encrypted, but I suddenly saw lots of ads for Ashley Madison and cheating sites, I might conclude that you had been researching those in the past even if I couldn&#x27;t see your other traffic.<p>A better way would just to let the ad networks fix it. You can bet that after iOS9 ships, if they see a massive drop in ad traffic, they&#x27;ll be burning the midnight oil to fix it ASAP.<p>I mean, iOS9 betas have been out for a long time, so it&#x27;s not like they haven&#x27;t had time to prepare.
评论 #10130277 未加载
评论 #10130303 未加载
评论 #10130594 未加载
评论 #10130474 未加载
boo_radleyover 9 years ago
This is a gross misinterpretation of what Google wrote which is : 1) Changes are coming 2) Here is best practice for app devs-- use https everywhere. 3) If you can&#x27;t use https right now, figure it out soon 4) During the tranision, people are going to fuck up. To deal with these fuck ups gracefully, you can enable NSAllowsArbitraryLoads while we get our partners sorted out.
评论 #10130466 未加载
评论 #10130464 未加载
DannyBeeover 9 years ago
Ignoring that it seems like the &quot;fix&quot; in this blog post is a really bad idea, I find it immensely funny that folks think this kind of thing is some high level decision somewhere or something deliberate and well thought out, and not &quot;a developer relations person who got asked to make a blog post about the solution he gave some customer&quot;<p>Not that you shouldn&#x27;t hold companies responsible, mind you, but everything everywhere is not some company (no matter who it is Google, Apple, etc) deliberately trying to screw you with some motive and purpose and grand conspiracy for how to achieve it in mind. Most wrong&#x2F;dumb things are usually just simply random people being wrong or not thinking things through on the internet[1]<p>I guess a lot of folks have never worked at any mid-size or large companies :)<p>[1] The large company comment also applies to the possible retort that they should know better.A lot of large companies have 100&#x27;s of &quot;official&quot; blogs. I&#x27;m sure corp comm&#x2F;security&#x2F;whoever would love to just have 1 they have to watch. But such a thing is not really the world.
评论 #10131073 未加载
评论 #10130420 未加载
MrGandoover 9 years ago
I&#x27;m pretty sure Google will eventually enforce HTTPs for their third party ad-networks. The problem is that a lot of those guys live in the Paleolithic era regarding security, google needs their inventory, so it&#x27;s not as simple as just saying: &quot;dude you&#x27;re going down if you don&#x27;t do HTTPs now&quot;.<p>And it&#x27;s also easy to just say &quot;google should just suck it up and take their losses and just do HTTPS&quot;. You have to think that a lot of games rely on Google having a big ad inventory to monetize (and it&#x27;s their only revenue model).<p>I don&#x27;t work at Google, but do work in ad-tech. The HTTPS only move by Apple is great and will make a lot of things better... But it&#x27;s going to take a while.<p>PS: Check prices of CDNs with SSL... They are also expensive.
st3fanover 9 years ago
It is ok. My guess is that by the time iOS 10 is released, this execption is not temporary anymore.<p>Then if you flip NSAllowsArbitraryLoads to true you will have to justify in the app review process why your app is needing that.<p>And something tells me that &#x27;making arbitrary insecure connections to ad delivery platforms&#x27; is not going to be a valid reason. You may be rejected for that. Or there may at least be a big fat warning on the app store page that says &#x27;beware this app talks to random insecure servers&#x27;.<p>It is a big win for users and the fight against lawless surveillance. Go Apple!
nevirover 9 years ago
&gt; To ensure ads continue to serve on iOS9 devices for developers transitioning to HTTPS, the recommended -&gt;<i>short term fix</i>&lt;- is to add an exception that allows HTTP requests to succeed and non-secure content to load successfully.<p>---<p>I.e. they know it sucks, and are working on something better.
评论 #10132008 未加载
stavrosover 9 years ago
Linkbaity title. Google is actually asking developers to add an exception for its third-party ad network, if the developers use Google ads in their apps, since Google can&#x27;t guarantee all third-party ads will be TLS-enabled.
评论 #10130144 未加载
评论 #10130157 未加载
评论 #10130151 未加载
评论 #10130141 未加载
评论 #10130143 未加载
评论 #10130739 未加载
评论 #10130172 未加载
jakobeggerover 9 years ago
I wonder if the App Store Review team will check that setting? I&#x27;ve had a Mac App rejected because sandbox restrictions weren&#x27;t narrow enough.<p>If it was my decision, I&#x27;d allow disabling App Transport Security if your app is something like a browser or an RSS client, were you need to connect to servers not under your control.<p>If you need to disable it to make ads work, I&#x27;d reject it.
评论 #10130542 未加载
gressover 9 years ago
For Google, delivering ads takes priority over security best practices and customer privacy.<p>Edit: an unarguably true statement, fully supported by Google&#x27;s own posting, begins to be downvoted.<p>Google could just as easily tell the ad networks to upgrade to HTTPS, but they have chosen to ask developers to reduce the security of their applications instead.
评论 #10130148 未加载
评论 #10130137 未加载
评论 #10130207 未加载
rubyalexover 9 years ago
Google&#x27;s intent is very straightforward; to disable TLS in the interest of their ad business. The post does not include how to whitelist domains (which should be recommended before you completely disable TLS). I did this today and yesterday to my iOS app and it took 2 minutes of editing Info.plist [0]. You shouldn&#x27;t compromise app security in the interest of letting ad networks continue to serve unencrypted content to your user&#x27;s devices.<p>[0] <a href="http:&#x2F;&#x2F;ste.vn&#x2F;2015&#x2F;06&#x2F;10&#x2F;configuring-app-transport-security-ios-9-osx-10-11&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ste.vn&#x2F;2015&#x2F;06&#x2F;10&#x2F;configuring-app-transport-security-...</a>
skywhopperover 9 years ago
So, my question is, as a soon-to-be iOS9 user, can I tell that the developers have intentionally disabled security features in their apps? I&#x27;d love to be able to set a rule to just hide all non-ATS-compliant apps from my view of the App Store.
评论 #10130499 未加载