Le 25/09/2014 03:36, Zhang, Zhengguang a écrit :
Hi, Dominique:
Some questions about WiNET multi-user requirements, thanks for your patience.
1. User A login and activates(turn on) WIFI, then connects to an AP A 
successfully.
        Then user B login:
        1). Can user B disconnect the connection to AP A?
No. Only UserA can break its connection.
When UserA log off, connection to AP A must be broken.
        2). Can user B deactivate(turn off) WiFi?
No. That is a force disconnect.

2. Since a user owns a wifi interface only if he has provided the credentials 
to connect it, and credentials given by UserA to connect to the access point 
should not be re-used by UserB to connect to this AP, therefore for a same WiFi 
AP:
     If firstly userA login and input passphrase to connect it successfully, 
then userA disconnect it and logoff.
        Then userB login and try to connect the same AP, userB must input 
passphrase to connect it, right?
Yes. I would expect that you will store the passphrase somewhere in an encrypted manner, so re entry is not required each time.

        If yes, we don't think it make much sense after consulting ConnMan 
upstream, below is the confusion from Patrik, who is upstream ConnMan 
maintainer:

        "Do notice that it makes absolutely no sense whatever for this kind of 
convoluted use case. If userB does not know the passphrase,         he's not supposed to 
use the service anyway. If userB knows the passphrase and therefore is supposed to know 
the passphrase and         is allowed to use the service as a result, there's no point in 
asking it as it was already provided by userA. So an existing service is         either 
allowed for userB or then not; re-asking the passphrase is not a meaningful task in this 
context."
You have a valid point. this is why the security team is working on add a privilege for enabling Network connection sharing -once established). This isolation will come in a later phase. This is why the response is a Yes.

Could you please help me to confirm the multi-user requirements above? Thanks 
in advance.
We will update the wiki to make these points clearer.
   https://wiki.tizen.org/wiki/Multi-user_WINET




Dominig ar Foll
Senior Software Architect
Open Source Technology Centre
Intel SSG


_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to