[Sugar-devel] A prototype of SugarWeb / SugarAndroid - Technical questions
Lionel Laské
lionel at olpc-france.org
Thu Nov 14 16:14:23 EST 2013
Sure, but it's not a major concern. It's why we should edict some naming
rules eventually enforced by our own LocalStorage encapsulation in the
Sugar Web API that will prefix keys by the activity id.
Lionel.
2013/11/14 Manuel Quiñones <manuq at laptop.org>
> 2013/11/14 Lionel Laské <lionel at olpc-france.org>:
> >
> > My answer is: we should go to simplicity.
> >
> > Regarding the one or many origin. I think, one is better. It allow
> sharing
> > LocalStorage between activities which simplify a lot.
>
> Imagine two activities that store a color in localStorage. If they
> use the same key "color", one activity will override the value of the
> other. This is a major concern. Same origin policy has more security
> issues than this one.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131114/d3bda9a3/attachment-0001.html>
More information about the Sugar-devel
mailing list