11:02:40 RRSAgent has joined #wam 11:02:40 logging to http://www.w3.org/2009/05/19-wam-irc 11:03:40 ScribeNick: ArtB 11:03:44 Chair: Art 11:04:14 marcos is in a bad mood :) 11:04:29 Date: 19 May 2009 11:04:42 Meeting: Widgets Security Model Voice Conf 11:04:48 Agenda: http://lists.w3.org/Archives/Public/public-webapps/2009AprJun/0539.html 11:05:02 +??P2 11:05:32 Zakim, ??P2 is me 11:05:32 +darobin; got it 11:05:39 Present: Art, Thomas, Jere, Robin 11:05:43 dialing in.. 11:05:46 + +47.23.69.aaaa 11:05:54 zakim, aaaa is me 11:05:54 +arve; got it 11:06:12 Present+ Marcos 11:06:15 zakim, passcode 11:06:16 I don't understand 'passcode', Marcos 11:06:20 Present+ Arve 11:06:26 ScribeNick: darobin 11:06:26 zakim, passcode? 11:06:26 the conference code is 83261 (tel:+1.617.761.6200 tel:+33.4.89.06.34.99 tel:+44.117.370.6152), Marcos 11:06:36 Topic: Widget Security Model 11:06:50 +??P4 11:07:01 zakim, ??P4 is me 11:07:01 +Marcos; got it 11:07:56 AB: there has been discussion on the list 11:07:57 AB: new thread was started http://www.w3.org/mid/b21a10670905190218k2645cf5dh5506bdf7be243330@mail.gmail.com 11:08:47 AB: there seems to be agreement between some of TLR and MC, and Vodafone supports TLR's model 11:08:55 AB: Arve is not happy with either proposal 11:09:24 Arve: I think we have an irreconcialable difference between two app models for the web 11:09:38 Arve: one in which you have the traditional model under the html5 model largely 11:10:13 Arve: I'm fine with supporting that model, but that model's security breaks down as soon as you allow access to an extended API (e.g. FS, phone book, anything sensitive) 11:10:27 Arve: that model, given how it handles inline content, become useless 11:10:51 Arve: the diff between stealing data from that device whether you allow XD XHR or not is none 11:10:58 Arve: if I read all the phone book 11:11:07 Arve: I can just pass it through an img object 11:11:20 Arve: and send it bit by bit within that secrity model 11:11:43 Arve: you're on your own if you don't restrict that 11:11:59 q+ 11:12:03 Arve: we need to restrict that model further the moment you put anything in a feature element 11:12:38 Arve: in terms of supporting models I see why we want to support the html5 model because then you can synthesise widgets from existing sources — I support that 11:12:55 Arve: but that model can never be used in conjunction with sensitive APIs — which is my entire protest 11:13:19 Arve: then there's the question of what is the default, and what happens if the widget requires the html5 model and a sensitive API at the same time 11:13:36 AB: trying to understand: 11:13:37 AB: Arve's email http://www.w3.org/mid/op.ut6avtgrbyn2jm@galactica 11:14:14 AB: you conclude with the strong statement that removign the access element from 1.0 and putting it into 2.0 is something you would not support even if it means delaying 11:14:20 AB: we need to discuss that too 11:14:45 TLR: what I hear Arve say is that in the moment a widget touches anything feature-enabled, the widget must not access the network 11:14:56 Arve: it must have no entry point to the network that is not declared 11:15:22 TLR: there are two ways to satisfy this requirement 11:15:45 TLR: one is if you have , access may not occur or implementations decide 11:16:31 TLR: the other is the fine grained thing where you're puytting the control of the data under the entity running the widget, and you move the responsibility there 11:17:09 Arve: for any data that is put into the cloud you need to trust who you give it to 11:17:26 Arve: you implicitly trust Google not to do any bad between with your GMail phone book 11:17:41 Arve: the trust between a third party and the user, and not of our concern 11:19:14 Arve: it's one thing to inject content that is misinterpreted, and in that case our responsibility is to ensure that when Alice and Bob talk to each other we provide a mechanism to make sure they stay safe 11:19:43 Arve: what I'm trying to ensure is that information from a feature-API should not get anywhere it shouldn't 11:19:53 TLR: are you assuming all those APIs are read-only? 11:19:55 Arve: no 11:20:09 Arve: RW APIs are a different ball park 11:20:25 Arve: we can't ensure that no data destruction happens — simply that it doesn't get into the wrong hands 11:20:42 TLR: if you have an SMS API, you have a potential leak anyway 11:21:04 TLR: could you live with within the scope of the 1.0 spec there is no specified model if both feature and access are present 11:21:21 TLR: IOW if someone uses feature APIs UAs could impose a restriction 11:21:42 TLR: if feature is used, you are not guaranteed any access to the network 11:21:57 Zakim: q+ 11:22:01 TLR: my goal is to not create an almost-html5 model that will then constrain DAP 11:22:08 q+ 11:22:16 q+ 11:22:44 AB: I support that kind of proposal, and would like to make sure that we don't take on the work of the DAP WG and solve everything here 11:22:57 AB: and that what we do provides a reasonably transition path 11:23:11 q+ 11:23:33 q- 11:24:03 JK: looking at the discussion, it seems to me that the access and the feature elements are quite orthogonal, they don't govern the same kind of access 11:24:13 JK: it's futile to try to shoehorn them into the same model 11:24:45 JK: a device API security model and a generic network access model are orthogonal, it's probably not fruitful to discuss them both at the same time 11:25:19 JK: so it's up to DAP to define the further security model for those API, we could farm these things out like we did for the update element 11:25:31 JK: we are feature-complete for packaging, we could go ahead with that 11:26:16 Arve: going back to the almost-html5 model, the problem with the same-origin policy is that it locks access to already useful API, which is unfortunate 11:26:41 Arve: 1000s of widgets already written have made use of non-restricted x-domain policy 11:26:46 q+ 11:26:54 Arve: it is unfortunate if those cannot be solved within the new model 11:26:55 q- 11:27:18 I wasn't even talking about cross-origin, and would note that access actually covers that. 11:27:46 Arve: the other bit is also that while I agree that the security model of APIs v access are orthogonal, there are good reasons to say that a given API would require a different security model 11:27:56 Arve: in which case using an API alters the security model of the widget 11:28:29 Arve: I'm not sure we want to allow a random resource in an API to alter to SM and leave the SM to that API because it will be misused/misunderstood 11:28:59 Arve: someone will come up with an API that will open up too many things, or incompatible implementations 11:29:27 Arve: as much as I'd like to deal with this later, but in the meantime we'll grow incompatible implementaions 11:29:32 ack a 11:29:33 ack d 11:29:33 q- 11:29:50 darobin: getting slightly confused 11:29:59 ... discussion crossing ... 11:30:06 ... model as understand it ... 11:30:24 ... "anything that comes from the widget is under control of access and feature, anything referenced outside, is under web model" ... 11:30:29 ... those things don't communicate that much ... 11:30:38 ... perhaps a few issues with script references ... 11:30:46 ... don't think this increases attack surface that much ... 11:30:48 q+ 11:31:03 ... if we restrict original content, then have useful level of security ... 11:31:14 ... don't see attacks as being any more important than what we already see today ... 11:31:42 Arve: I would like to point out a collision 11:31:46