Fem rader kod häver spärren i iOS9

En av nyheterna i kommande iOS9 är att användarna kan spärra annonsörer och mätföretag från att spana på användaren. Men Google har tagit fram en lösning med fem rader kod.

google_code

App Transport Security är en av nyheterna i kommande iOS9 och den gör det möjligt att förhindra att annonsörer och mätföretag spårar mobilanvändarna. Google som alltid är på annonsörernas sida har publicerat fem rader datakod som gör möjligt at kringgå Apples spärr.

Så här skriver Google på sin sida:

“The rollout of iOS 9 is expected to come this Fall and will introduce a new privacy feature called App Transport Security (ATS) to enforce best practices in secure connections between an app and its back end. This change may need your action if you are developing with the Google Mobile Ads SDK and building an app against the iOS 9 SDK.

We recommend using HTTPS exclusively if you’re developing a new app. If you’re working on an existing app, we suggest using HTTPS as much as possible and creating a plan to migrate the rest of your app toward ATS compliance.

All iOS 9 devices running apps built with Xcode 7 that don’t disable ATS will be affected by this change. The following log message appears when a non-ATS compliant app attempts to serve an ad via HTTP on iOS 9:

“App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.”

While Google remains committed to industry-wide adoption of HTTPS, there isn’t always full compliance on third party ad networks and custom creative code served via our systems. To ensure ads continue to serve on iOS9 devices for developers transitioning to HTTPS, the recommended short term fix is to add an exception that allows HTTP requests to succeed and non-secure content to load successfully.

Publishers can add an exception to their Info.plist to allow any insecure connection (se ovan bild)”

> Läs mer