httpslocal / usecases

discussion about use cases
Other
17 stars 11 forks source link

[Requirements] Device Discovery should be optional #32

Closed dajiaji closed 5 years ago

dajiaji commented 5 years ago

I think device discovery functionality is an optional feature but it looks mandatory in the current draft.

tomoyukilabs commented 5 years ago

@dajiaji The current draft mandates capability of device discovery, but exposing interfaces for discovery is not explicitly mentioned. Therefore, we need to explicitly state that the UA should prevent web apps from enumerating home network devices. (I'm not sure whether it should be mentioned in the functional requirements or privacy and security, though.) WDYT?

tomoyukilabs commented 5 years ago

More specifically, what we need here is to mandate host name resolution in home network. However, such an approach is usually tied to service discovery mechanism like DNS-SD. Consequently, device discovery might be mandatory though discovery itself is not needed.

dajiaji commented 5 years ago

(I'm not sure whether it should be mentioned in the functional requirements or privacy and security, though.) WDYT?

I'm not sure but it looks non-functional privacy requirement to me. Now I'm preparing a PR for privacy requirements. so Please wait for a while and check it.

More specifically, what we need here is to mandate host name resolution in home network. However, such an approach is usually tied to service discovery mechanism like DNS-SD.

IMHO, we should assume the use case that a web service, which accesses a device in local network via a UA, knows the device URL in advance. Especially in case that the device URL is a public domain name (e.g., https://someprinter.somemanufacturer.com), I think there is no need to use the service discovery mechanism. What's your take on this?

tomoyukilabs commented 5 years ago

Okay, now I can agree that we don't need to limit name resolution to discovery-based host names like .local. In other words, the requirement of device discovery should be replaced with that of name resolution.

@dajiaji Could you include this change in your PR?

dajiaji commented 5 years ago

okay. I'll include the change.

tomoyukilabs commented 5 years ago

Closed via #34.