Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Phonegap for Enterprise

You're reading from   Phonegap for Enterprise Master the art of building secure enterprise mobile applications using PhoneGap

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783554751
Length 192 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Kerri Shotts Kerri Shotts
Author Profile Icon Kerri Shotts
Kerri Shotts
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. PhoneGap and Enterprise Mobility FREE CHAPTER 2. Building the Data Store and Business Logic 3. Securing PhoneGap Apps 4. Building the Middle-Tier 5. Communicating between Mobile and the Middle-Tier 6. Application Events and Storage 7. Push Notifications 8. Building the Presentation Tier A. Useful Resources Index

Storing data in the iOS Keychain


When it comes to storing data securely, the best method is to use something made for secure storage. In iOS, this is the Keychain. In Android, there is a Keychain of sorts, but it's not a general data store as is the iOS Keychain. As such, this section is for iOS only. For Android, the best place to store secure data is in the application's data directory on internal storage. It's not a complete protection, but neither is the iOS Keychain. (Should the device be rooted, all bets are off as the data is easily accessible. This applies to both iOS and Android.)

For more information regarding the Keychain itself, see: https://developer.apple.com/library/mac/documentation/Security/Conceptual/keychainServConcepts/02concepts/concepts.html.

First, you need to install the plugin:

cordova plugin add com.shazron.cordova.plugin.keychainutil

Next, you might want to read up on the entire documentation available at: http://plugins.cordova.io/#/package/com.shazron.cordova.plugin...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image