I had imagined that trusted would be explicit, but that this trust could
be remembered. But writing this email I am not so sure, as this would
effectively grant persistent access to geolocation information, so maybe
the permission should only be persisted per app session.
On 5/9/12 8:44 AM, Adrienne Porter Felt wrote:
> It seems like the WiFi API will contain a few different privileges, and
> perhaps each one should be treated differently. (Note: everything in this
> e-mail is referring to apps in the "Trusted code" category.)
>
> * See current and nearby SSIDs -- This is essentially equivalent to the
> location API, so I think it should be treated as such, with the same exact
> UI as location.
We expose the location API to untrusted apps, since this is something
that web pages can already get access to. Exposing list of SSIDs is
potentially more sensitive, if for example you are in a location which
has deliberately deployed wireless access points for the purpose of
tracking (the example that has been discussed was "wifarer"-like indoor
wifi based location services).
I don't think this information should be available to untrusted apps (as
location is) since the location could be more granular, and also it is
difficult to convey the implication to the user that allowing wifi
access will enable potentially more granular location tracking.
In the trusted case, I think it needs to remain explicit, as geolocation
is, so the user is in control of their location information.
>
> * Connect to known networks -- Implicit. I don't see how this could be
> harmful, especially if the phone is already set up to automatically connect
> to known networks.
Consider the use case of the paid wifi access provider - money comes off
your account automatically when you are connected to the wifi network,
so you only want to be connected when you authorize it. Maybe it could
be argued that if a trusted app behaved in a way that the user didnt
expect their customers would get mad and uninstall the app, but you
certainly dont want the wifi network changing without your knowledge
(for example at the airport where there are a mix of free and paid wifi
hotspots)
>
> * Connect to new networks -- Agreed that this should be explicit. Maybe
> this explicit UI could occur at runtime and be a slightly modified version
> of the already-familiar "Would you like to connect to one of these new
> networks?" dialog.
Agreed - maybe this could be handle by an intent sent to the certified
wifi manager app. (I'm not sure if or how we are handling this use case
at the moment)
>
> * Disconnect from networks -- Implicit. I don't see any reason to make
> this explicit. It's simply annoying, not harmful, and the user can undo
> the action. The Settings app could have a little annotation under "Network
> status" that says the name of the app that last disconnected the user from
> a network, so the user can identify and uninstall any potentially abusive
> applications.
Agreed this should be implicit.
> _______________________________________________
> dev-webapps mailing list
>
dev-w...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-webapps