W3C home > Mailing lists > Public > public-appformats@w3.org > May 2008

Widget update mechanisms

From: Guido Grassel (Nokia-NRC/Helsinki) <guido.grassel@nokia.com>
Date: Tue, 6 May 2008 13:50:16 +0300
Message-Id: <576FE782-D47B-4E69-92C5-7DDEEA264837@nokia.com>
To: public-appformats@w3.org


Group,

For the records, this is my proposal for Widget update (as discussed  
on the f2f Tuesday morning):

config.xml includes the domain from where updates are permissible, e.g.
	<update domain="nokia.com" />

widget.update (URI) allows a Widget to request the engine to update  
itself. The domain used in URI must match the one defined in the  
config.xml.
	Note: This is the solution how prevent hijacking the update process  
of a compromised Widget.
	e.g. widget.update (http://www.forum.nokia.com/update.php?widget=myWidget,version=201 
)

widget.deinstall () allows a Widget to request permanent  
deinstallation from the system.

Kind Regards
- Guido
Received on Tuesday, 6 May 2008 10:51:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 6 May 2008 10:51:06 GMT