1 the phone in the cloud utilizing resources hosted anywhere claes nilsson

35
1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

Upload: dominique-trask

Post on 30-Mar-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

1

The phone in the cloud Utilizing resources hosted anywhere

Claes Nilsson

Page 2: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

2

“Software as a Service”

“Cloud Computing”

……..

Page 3: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

3

What about

“The Phone as a Service”

GPS Camera MessagingCalendar

…………….

Page 4: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

4

Let us combine this……..

Page 5: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

5

So, we all agree that…

Page 6: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

6

The Web is THE application execution

platform

Page 7: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

7

and that ….

Page 8: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

8

Mobile Devices must be full citizens of the

Cloud

Page 9: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

9

and that….

Page 10: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

10

Web Applications must be able to consistently

utilize Cloud Resources

as well asLocal Device Resources

Page 11: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

11

Device APIs

Acc

ess

co

ntr

ol

fra

me

wo

rk

Web Application Device Capabilities

Give Web Applications access to device capabilities in a

secure manner

GPS

Camera

Messaging

Calendar

Page 12: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

12

Existing Device API solutions

GeoLocationDAP APIs

All these solutions define JavaScript APIs for web

browsers and web widget engines

Example:

navigator.geolocation.getCurrentPosition(showMap);

Page 13: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

13

Page 14: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

14

One approach is control by some trusted

authority

Page 15: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

15

Existing Device API solutions –Bondi/JIL Security

define an access policy control framework based on origin of web application and

user interaction

Access control policyframework

• Unknown ?•Manufacturer ?

• Operator ?

Web Application Device Capabilities

Page 16: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

16

Existing Device API solutions – Bondi/JIL policy security model

Examples:

• “A Widget whose signature chains to operator root certificate can read and write from the PIM databases”

• “A Widget downloaded from weather.com can access geolocation coordinates if the user says it’s OK”

Control by a configured access policy

Page 17: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

17

Another approach is full user control (and

responsibility)

Page 18: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

18

Security – implicit user consent examples

Full user control

• user must press camera shutter

• user must state granularity of location

• user must inspect message and press “send”

Page 19: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

19

Device APIs – work in progress

Device API and Policy (DAP) WG

• Main SDO for Device APIs• SEMC active – support for W3C DAP is our main strategic direction for device APIs

• Other members; Nokia, Vodafone, Google, Opera, Orange, AT&T, Telefonica, OMTP, Aplix, Intel…...

• W3C DAP Website

Page 20: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

20

Device API and Policy WG

So far JavaScript interfaces defined

MessagingContacts

Calendar

File Writer

MediaCapture

System informationandSensors

Gallery

File DirectoriesSystem

Page 21: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

21

Device API and Policy WG

In addition an optional genericpolicy based access control framework

is being worked on

Page 22: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

22

•Another approach proposed by

•Local Resources as “Virtual Web Servers”

•HTTP REST APIs

Device API and Policy WG – REST APIs

Client (Web Browser orWidget Engine)

Server(Resource Provider)

Server(Resource Provider)

http://................

http://................

Page 23: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

23

•APIs as URIs:• Example: http://localhost/dap/contacts/create.json?...&name=Mr.%20Robert%20Smith%20Jr&nicknames=Bob

•Access through standard HTTP methods GET, POST, PUT, DELETE

•More reading Rest Introduction

Device API and Policy WG – REST APIs

Page 24: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

24

•HTTP REST API advantagesLanguage independent

A resource can be situated "anywhere“In mobile device, in PC, in accessory, in server…

A resource can be accessed from “anywhere”

Leverage on existing HTTP access control mechanisms

Device API and Policy WG – REST APIs

Page 25: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

25

InternetInternet

BrowserBrowser

In-device Web ServerIn-device Web Server

Access ControlAccess Control

WebApplication

Native DeviceAPIs

Native DeviceAPIs

Device

RESTDeviceAPIs

SEMC - access to local resources through in-device web server

Any native APIcan be bound to a web API

New web APIsby upgradingin-device server

JS libraries to hide complex REST-coding

Page 26: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

26

•Powerbox• Proposed by , SEMC and Mozilla Labs• Supports discovery and interaction with resources independent of where these resources are hosted or how they are produced

• Security and Privacy purely user controlled

Device API and Policy WG – Powerbox

Page 27: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

27

1. Customer Web Application needs a user’s private image

2. User selects image Provider:• Photo sharing web site

• Local device image gallery

• Device camera

3. User selects image

Device API and Policy WG – Powerbox example scenario

Page 28: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

28

Device API and Policy WG – Powerbox Provider Registration

1: Web content:“Offer URL to Provider”

Remote ResourceProvider (e.g. photo sharing site)

Remote Resources

……

Local Resource Providers

Web Site thatoffers a Provider

2: Get Providermetadata doc

Powerboxenabledbrowser

“Pre-registered”

Page 29: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

29

Device API and Policy WG – Powerbox User selects remote Provider

Customer Web Site

1: Web Application: “Request image”

3: Powerbox sends introduction request to Provider

5: Provider provides link to selected image

2: User selects Remote Resource Provider

Remote ResourceProvider (e.g. photo sharing site)

Remote Resources

Powerboxenabledbrowser

4: Provider returns web page that lets user choose image

Page 30: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

30

Device API and Policy WG – Powerbox User selects device gallery Provider Customer

1: Web Application: “Request image”

4: Provider lets user choose image5: Provider provides link to selected image

2: User selects device gallery Provider

Powerboxenabledbrowser

Local Resource Providers

3: Powerbox sends introduction request to local gallery Provider

Page 31: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

31

Device API and Policy WG – Powerbox User selects device camera Provider Customer

1: Web Application: “Request image”

4: Provider activates camera

6: Link to image provided

2: User selects device camera Provider

Powerboxenabledbrowser

Local Resource Providers

5: User takes a picture

3: Powerbox sends introduction request to local camera Provider

Page 32: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

32

Conclusion

Page 33: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

33

Use resources hosted anywhere

Page 34: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

34

•We need:

Resource discovery

User directed resource selection

Standardized APIs (HTTP – REST)

Access and privacy control

Page 35: 1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson

35

Thank you !