21
1 Issues & Architecture from a technical perspective www.webinos.org by Nick Allott, Impleo Webinos Technical Coordinator

Issues in the Web Application Landscape and webinos Architecture

Embed Size (px)

DESCRIPTION

Issues in today’s web applications landscape and solutions proposed by the webinos Architecture.

Citation preview

Page 1: Issues in the Web Application Landscape and webinos Architecture

1

Issues & Architecture from a technical perspective

w w w. w e b i n o s . o r g

by Nick Allott, ImpleoWebinos Technical Coordinator

Page 2: Issues in the Web Application Landscape and webinos Architecture

Innovate in Private

We need communal innovation

Standardise

Innovate Collaboratively

Standardise

Negotiate

Speed and Open Source

Page 3: Issues in the Web Application Landscape and webinos Architecture

We need open governance framework

Where we are in mobile

Chrome: Google dominance Android: Google dominance Webkit: Apple dominance WAC: Operator dominance Meego: Nokia dominance Limo: Samsung dominance

Adoption requires balance

Page 4: Issues in the Web Application Landscape and webinos Architecture

We need to give the web APIs

Browser

APIs

Web is

Page 5: Issues in the Web Application Landscape and webinos Architecture

We need standardised security

Developer App Store Device

App App App

intent intent

signature

intent

signatureintent

signaturepermission

Without standardised security HTML5 will be siloed ecosystem

Cannot port apps between devicesSecurity risk profile will be greater (cognitive load)

Page 6: Issues in the Web Application Landscape and webinos Architecture

We need better offline functionality

Requirements for offline– Native OS level file access– Secure file access– Synchronised file structures– Binary file management

EU cyber-security Agency ENISA flags security fixes - http://bit.ly/pgvuk3 Defcon Abusing HTML5 - http://bit.ly/nYWp9I W3C New browsing group - http://bit.ly/lgABrI

Page 7: Issues in the Web Application Landscape and webinos Architecture

We need better network behaviour

HTTP was not design as a transport for programming messages

XHR is chatty and inefficient Too many TCP Connections Operators Urge Action Against Chatty

Apps http://bit.ly/mR34k0

Page 8: Issues in the Web Application Landscape and webinos Architecture

We need network innovation

Need mutual authentication User authentication Device authentication Application identity

– What is a user agent…….? Platform attestation Safe session IDs

Page 9: Issues in the Web Application Landscape and webinos Architecture

We need our devices to talk to each other

All devices

Talk to each other

Connect when there is no internet

Even M2M – the internet of things

Page 10: Issues in the Web Application Landscape and webinos Architecture

We need to be able to “share” “stuff” “socially” “securely”

I want to share data with “my” social network

With any application I choose Over any service I choose I want to be able to revoke that permission I want to control what I disclose I want access to rich context

Calendar sharing user case is perfect exampleWhy do I need an intermediate service

Page 11: Issues in the Web Application Landscape and webinos Architecture

We need to give consumers control over their data

UsersUsersUsersUsers

Website

Website

Website

Google

Advertisers

Advertisers

Advertisers

Consent

Consent

NOConsen

t

No Consent

GA

GA

GA

Page 12: Issues in the Web Application Landscape and webinos Architecture

We need it all to work together

Interoperability

Ubiquity

Page 13: Issues in the Web Application Landscape and webinos Architecture

WEBINOS ARCHITECTURE

Page 14: Issues in the Web Application Landscape and webinos Architecture

Personal Agent

PZP

PZH

TLS

Sync

Mes

sagi

ng

User TokensAuthentication Certs

App IDsService IDsFriend IDs

PolicyContext

User TokensAuthentication Certs

App IDsService IDsFriend IDs

PolicyContext

JSON-RPCPackets

Sync Packets

Routing

Routing

Personal Agent is you – when your not onlinePZH can receive messages on your behalfPZH is an authority you can authorise yourself againstPZH manages: sync, context, message routing, data and policy

PZP: does what a PZH does when the PZH is not there

Page 15: Issues in the Web Application Landscape and webinos Architecture

Different webinos processors – and bearers

Webinos clientSmart Device with WRT

PZPRouting

WRT

Dumb Device No WRT

PZPRouting

Super Dumb Device No WRT No PZP

API

API

API

Bearers

Wireless

Bluetooth

Zigbe

RFID

USB

Other…

Page 16: Issues in the Web Application Landscape and webinos Architecture

New Networking Model

Client

Server

HTTP

Client

Server

TLS

JSO

N - R

PC

AsymmetricUnilateral authenticationPaddedMultiple connectionsManual javascript bindings

SymmetricMutually authenticatedStreamlinedUser IDDevice IDApp IDMultiplexedIntegrated Javascript bindings

Page 17: Issues in the Web Application Landscape and webinos Architecture

Local and Remote APIs

PZPLo

catio

n-A

PI

File-A

PI

Conta

cts-API

Senso

r-API

Galle

ry-API

JSON RPC

Local BrowserOR

Widget Runtime

Remote BrowserOR

Widget Runtime

Page 18: Issues in the Web Application Landscape and webinos Architecture

Internet of Things

Web Server

Web Browser

PZP

John: PZH

Policy

Policy

JSON RPC

Secure Session

The webinos model gives a lightweight

protocol for “things” to connect to the Internet

(securely) and issue and respond to events

with well defined semantics

Page 19: Issues in the Web Application Landscape and webinos Architecture

Sharing and Distributed Policy

Nick: PZH

Nick: PZP

John: PZH

John: PZP

Policy

Policy Policy

Policy

->GetLocation()

Page 20: Issues in the Web Application Landscape and webinos Architecture

Native OS

Device Side Architecture

API manager

PZP

APIs

APIs

APIs

APIs

APIs

WRTChromium or QT

Javascript EngineV8

Binding WebSocket

Node.js

Native C

Messaging Manager

RPCbindings

Widget Manager

Local Discovery Manager

Context Manager

TLS

Session Manager

Native Discovery Mechanisms

Drivers

Sync Manager

Policy ManagerStorage

Storage Manager

Routing Messaging User Data Device

Page 21: Issues in the Web Application Landscape and webinos Architecture

21

To Follow or Contact webinos Website http://webinos.org/

Contact [email protected]

http://www.linkedin.com/groups/webinos-3387786

http://twitter.com/webinosproject

http://www.facebook.com/webinosproject