YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication
Page 2: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication
Page 3: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Securing Your iOS Apps in the FieldSuganya Baskaran

Page 4: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Services Security

ArcGIS

Local Data SecurityApp Security

Page 5: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Securing your app in the field

Page 6: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

ConcernHow can I protect my app?

Securing your app in the field

Page 7: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Local Authentication

• Use device’s Touch ID - Two Models

1. Stand Alone Local Authentication- Provides access to app- Acts as a checkpoint- Fall back – Custom authentication

2. Local Authentication Integration With Keychain- Provides access to app + Authenticates Users- Allows users to stay signed in- Fall back – Device’s passcode

Securing your app in the field

Page 8: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Demo – Local Authentication

Securing your app in the field

Page 9: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Stand Alone Local AuthenticationSecuring your app in the field

• Import Local Authentication framework• Create an instance of LAContext• Evaluate Policy for Biometrics

Page 10: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Securing your services in the field

Page 11: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

ConcernDo the right people have access to the services?

Securing your services in the field

ArcGIS

Page 12: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Authentication

• Set up at Server / Portal• Types of Authentication Mechanisms

- Token based- External users, username/password- OAuth

- Windows based- Enterprise users, username/password

- PKI based- Enterprise users, Client certificate

• Save Credential to Keychain

Securing your services in the field

SDK supports all Auth Mechanisms!

Youhandle Client Code and UI!

ArcGIS

Page 13: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

ConcernDo people have the right access to the services?

Securing your services in the field

ArcGIS

Page 14: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Authorization

• Set up at Server / Portal• Configured for each service• Two methods

1. Ownership Based Access Control- Owner has update / delete privileges- Can limit non-owner privileges

2. Capabilities- Can limit privileges for all users

Securing your services in the field

ArcGIS

Capabilities: Create,Query,Update

Capabilities: Create,Query

Popup Editing • SDK - handles everything• You – do nothing!

Manual Editing• You – do the checking

canDeleteFeature,canUpdateFeaturecanCreate, canDelete, canUpdatecanUpdateGeometry

Page 15: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Demo – Authentication & Authorization ArcGIS

Page 16: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

ConcernAm I connecting to the right server in a secure way?

Securing your services in the field

ArcGIS

Page 17: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

SSL

• Secure Socket Layer protocol• Digital Certificate

- Verifies Identity of Server- Creates encrypted link

• Types of Digital Certificate- Certificate Authority signed certificate- Domain certificate- Self-signed certificate

• Set up at Server / Portal

Securing your services in the field

ArcGIS

You - use https

SDK• redirects http to https• warns user about self-signed certificate

Page 18: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Securing your local data in the field

Page 19: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

ConcernHow can I protect the data in my device?

Securing your local data in the field

Page 20: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Data Protection

• iOS provides Data Encryption• Set up passcode to opt-in• Data Protection Modes

- Complete- Available only when unlocked

- Protected Unless Open- Available when unlocked - Also available when file is open already

- Protected Until First User Authentication- Available after first unlock since reboot- Default

- No Protection- Always Available

Securing your local data in the field

Page 21: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Modifying Data Protection Mode

• App Level- ‘Capabilities’ pane of settings

• File Level- Use NSFileManager- Set NSFileProtectionKey

Securing your local data in the field

Page 22: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

AuthenticationAuthorization

OBACCapabilities

SSL

Services Security

Data Protection

Local Data Security

Touch ID

App Security

Summary

Page 23: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication
Page 24: Securing Your iOS Apps in the Field...App Security Local Data Security Securing your app in the field Concern How can I protect my app? Securing your app in the field Local Authentication

Rate the session www.esri.com/RateMyDevSummitSession


Related Documents