So, if we were to decide to allow apps to be moved to the sdcard, there is no 
way to prevent the host from seeing anything stored on the sdcard when using 
USB Mass Storage, so I don't see the point in restricting access via adb.

Dave Hylands

----- Original Message -----
> From: "Paul Theriault" <[email protected]>
> To: "Fabrice Desre" <[email protected]>
> Cc: "dev-b2g" <[email protected]>
> Sent: Thursday, June 6, 2013 10:49:39 PM
> Subject: Re: [b2g] Moving apps to the sdcard
> 
> I assume that file permissions would be set to prevent adb access to
> app & data, as it currently is on /data ? Will there need to be any
> changes to APIs which allows access to the sdcard (devicestorage,
> usb mass storage) to prevent apps accessing other app's data?
> 
> 
> 
> On Jun 7, 2013, at 3:00 PM, Fabrice Desre wrote:
> 
> > Given the limited space available on the /data partition, I'd like
> > to
> > add the possibility to move apps to the sdcard. This means moving
> > the
> > app package and manifest, and also private data jars.
> > 
> > For this, we need to:
> > - Add a new api call to mozApps.mgmt, eg DOMRequest
> > moveToExternalStorage(Application)
> > - Add a new api to manage the app lifecycle, since we need to make
> > sure
> > an app is not running before we move it. This one could live on the
> > app
> > object itself, or on mozApps.mgmt.
> > - Update the webapps code and the app:// protocol handler
> > accordingly.
> > - Update data jars to be usable on the sdcard. Ben thinks that this
> > is
> > doable for indexedDB. That may be harder for other stores that use
> > a
> > common db for all apps.
> > - Add some UI in Gaia.
> > 
> > One issue is that some devices have several external volumes. Any
> > ideas
> > on how to manage that are welcome.
> > 
> >     Fabrice
> > --
> > Fabrice Desré
> > b2g team
> > Mozilla Corporation
> > _______________________________________________
> > dev-b2g mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-b2g
> 
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
> 
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to