Skip to main content

App Transport Security - iOS 9

App Transport Security is a feature that improves the security of connections between an app and web services. The feature consists of default connection requirements that conform to best practices for secure connections. Apps can override this default behavior and turn off transport security.

All connections using the NSURLConnection, CFURL, or NSURLSession APIs use App Transport Security default behavior in apps built for iOS 9.0 or later, and OS X v10.11 or later. Connections that do not follow the requirements will fail.

App Transport Security Technote

When you are aware of the risks you can still completely disable ATS for your app by editing the Info.plist:

[key]NSAppTransportSecurity[/key]
[dict]
    [key]NSAllowsArbitraryLoads[/key]
    [true/]
[/dict]

To have a bit more of security you could define exceptions from the exceptions and apply ATS to specific domains only:

[key]NSAppTransportSecurity[/key]
[dict]
    [key]NSAllowsArbitraryLoads[/key]
    [true/]
    [key]NSExceptionDomains[/key]
    [dict]
        [key]example.com[/key]
        [dict]
            [key]NSExceptionAllowsInsecureHTTPLoads[/key]
            [false/]
            [key]NSIncludesSubdomains[/key]
            [true/]
        [/dict]
    [/dict]
[/dict]

Shipping an App With App Transport Security

Comments

Most Favorite Posts

Judo App - Server Driven UI out of the box

Judo App Judo brings server-driven UI to your iOS and Android apps. Build user interfaces visually in a fraction of time and publish them instantly without submitting to the app store. Build Experiences - With No Code The Judo app for macOS, available through the App Store, is built for design professionals with common keyboard shortcuts and familiar concepts like canvas, layers and inspector panel. Workflow is streamlined with the ability to drag and drop media files directly into your experiences and manage your own Judo files in Finder. Manage Creative Execution A Judo experience is interactive and can include text, images, video and buttons. An experience may be part of a screen, a single screen, or more typically multiple linked screens. Judo supports screen transitions, carousels, horizontal scrolling and modals. Clients can add custom fonts and define global colors and these are updates applied universally. Effortlessly Deploy Judo Cloud syncs your experiences with your iOS and ...
LazyPages is a highly customizable library that helps you to show a scrollable list of view controllers synchronized with an index. It is written in Swift 2.2 for iOS 8+. Like Scrollable Tabs in Android. GitHub

TestFlight

iOS beta testing on the fly Free over-the-air beta distribution TestFlight

Bending Test: iPhone 6, HTC One, Moto X and more

Apple Engineers in 'War Room' Tracking Down iOS 8 Issues on Social Media

nice approach for early field failure analysis Quality Assurance: Feedback Analysis Social Media Tracking Following the launch of iOS 8 to the public yesterday, Apple employees in Cupertino are working to locate and remedy iOS 8 bugs that are popping up. As described by one Reddit user, the company has a "War Room" at Apple where employees are tracking down issues on social media. MacRumors