FoodLinker
Upcoming SlideShare
Loading in...5
×
 

FoodLinker

on

  • 815 views

Presentation made on the event Barcelona iOS developers by Ronan O'Ciosoig

Presentation made on the event Barcelona iOS developers by Ronan O'Ciosoig

Statistics

Views

Total Views
815
Views on SlideShare
815
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

FoodLinker FoodLinker Presentation Transcript

  • BARCELONA IOS DEVEOPERSRonan O CiosoigShow and Tell14th May 2012Thursday, May 16, 13
  • Thursday, May 16, 13
  • Why do we need it?Thursday, May 16, 13
  • What is wrong with other solutions?Thursday, May 16, 13
  • What is it that is being offered here?Thursday, May 16, 13
  • FOOD SAFETY PLATFORM• Food safety web site (for reference hospital)• Manufacturers web site• Web only widget to embed in manufacturer’s and foodregulatory or safety web sites• Consumers web site• Mobile app for iOS and AndroidThursday, May 16, 13
  • APP - KEY FEATURES• Simple to read• Downloadable database• Customized user profile• Allergen information provided by a leading hospital• Apple Push to update• SecureThursday, May 16, 13
  • DEMOThursday, May 16, 13
  • USINGTHE APP• Use anonymously - no registration is required• Register and define intolerances / allergies• Download database• Select by• Brand• Barcode scanning• Text searchThursday, May 16, 13
  • INTERNAL FEATURES• English and Spanish supported• Voice support (deactivated)• Image cache• System-wide logging and usage tracking• not using any 3rd party lib.• EncryptionThursday, May 16, 13
  • SECURITY INTHE APPThursday, May 16, 13
  • SECURITY INTHE APPWhy do you need security here?Gives manufacturers confidence in the platformThursday, May 16, 13
  • CORE DATA ENCRYPTIONThursday, May 16, 13
  • CORE DATA ENCRYPTION• Add 2 classes (from Pro Core Data book):• EncryptedStringTransformer• NSData+EncryptionThursday, May 16, 13
  • CORE DATA ENCRYPTION• Add 2 classes (from Pro Core Data book):• EncryptedStringTransformer• NSData+Encryption• Change properties to ‘transformable’Thursday, May 16, 13
  • CORE DATA ENCRYPTION• Add 2 classes (from Pro Core Data book):• EncryptedStringTransformer• NSData+Encryption• Change properties to ‘transformable’• Set the name to “EncryptedStringTransformer”Thursday, May 16, 13
  • CORE DATA ENCRYPTION• Add 2 classes (from Pro Core Data book):• EncryptedStringTransformer• NSData+Encryption• Change properties to ‘transformable’• Set the name to “EncryptedStringTransformer”• Set the key in the EncryptedStringTransformer.m classThursday, May 16, 13
  • CORE DATA ENCRYPTIONThursday, May 16, 13
  • CORE DATA ENCRYPTIONThursday, May 16, 13
  • CORE DATA ENCRYPTIONThursday, May 16, 13
  • THE KEY?Thursday, May 16, 13
  • THE KEY?• Add it into the code?Thursday, May 16, 13
  • THE KEY?• Add it into the code? Not a good ideaThursday, May 16, 13
  • THE KEY?• Add it into the code?• Can you store it in the Key Chain?Not a good ideaThursday, May 16, 13
  • THE KEY?• Add it into the code?• Can you store it in the Key Chain?Not a good ideaNot secureThursday, May 16, 13
  • THE KEY?• Add it into the code?• Can you store it in the Key Chain?• Don’t store it.Not a good ideaNot secureGenerate it!Thursday, May 16, 13
  • SECURE CODINGThursday, May 16, 13
  • SECURE CODING... is about increasing the complexitydemanded for an attack against theapplication to succeed.Thursday, May 16, 13
  • SECURE CODINGDon’t make it easyThursday, May 16, 13
  • KEY GENERATIONComplex non-obvious operationSeedSeedSeedRead CoreData DBThursday, May 16, 13
  • NON-OBVIOUS OPERATIONThursday, May 16, 13
  • SECURITY INTHE APP• Core Data SQLite entries are encrypted• Key is generated and never stored• Seed for key stored in KeyChainThursday, May 16, 13
  • Thursday, May 16, 13
  • Thursday, May 16, 13
  • SIMPLICITYThursday, May 16, 13
  • SIMPLICITYThursday, May 16, 13
  • SIMPLICITY...is about subtracting the obvious and adding themeaningful.”Thursday, May 16, 13
  • QUESTIONS?Thursday, May 16, 13
  • REFERENCESPro Core Data 2nd Edition (Michael Privat,Robert Warner)Hacking and securing iOS Applications, JonathanZdziarskiThe Laws of Simplicity, John MaedaThursday, May 16, 13