DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Software Design and Architecture
  3. Security
  4. App Transport Security for iOS 10 Apps

App Transport Security for iOS 10 Apps

During a security presentation at WWDC, Apple revealed the deadline for all apps in its App Store to switch on App Transport Security (ATS) before January 1, 2017.

Dickey Singh user avatar by
Dickey Singh
·
Jun. 20, 16 · News
Like (5)
Save
Tweet
Share
8.65K Views

Join the DZone community and get the full member experience.

Join For Free

January 1, 2017

During a security presentation at Worldwide Developers’ Conference, Apple revealed the deadline for all apps in its App Store to switch on App Transport Security (ATS) before January 1, 2017.

Scope

It is important for app publishers to note that this applies to all services they use:

  • mBaaS or Mobile backend as a service provider
  • SaaS platforms for mobile app performance management, crash analysis, basic analytics,
  • Push notification service providers,
  • Growth Intelligence platforms for Contextual marketing and Growth Automation platforms

You will not be able to submit apps to the app store if your provider does not support HTTPS or TLS 1.2. Apps submitted before Jan 1, 2017, are expected to continue to work with HTTP.

With iOS 9, a new security feature App Transport Security (ATS) is available to iOS apps and is automatically enabled when you link your app against the iOS 9.0 SDK or later. All connections from the app to internet resources using NSURLConnection, NSURLSession and CFURL are required to follow the ATS security requirements. When connections do not meet these requirements, they fail with an exception. From App Transport Security (developer.apple.com):

App Transport Security (ATS) enforces best practices in the secure connections between an app and its back end. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt; it is also on by default in iOS 9 and OS X v10.11. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.

If you’re developing a new app, you should use HTTPS exclusively. If you have an existing app, you should use HTTPS as much as you can right now, and create a plan for migrating the rest of your app as soon as possible. In addition, your communication through higher-level APIs needs to be encrypted using TLS version 1.2 with forward secrecy. If you try to make a connection that doesn’t follow this requirement, an error is thrown. If your app needs to make a request to an insecure domain, you have to specify this domain in your app’s Info.plist file.

Also See: InfoPlistKeyReference (developer.apple.com), ATS, TLS, NSURLConnection, NSURLSession, CFURL, HTTPS (HTTP Over TLS).

mobile app security IOS 10

Published at DZone with permission of Dickey Singh, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Implementing PEG in Java
  • 11 Observability Tools You Should Know
  • How To Choose the Right Streaming Database
  • A Gentle Introduction to Kubernetes

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: