w3c / web-share-target

Web API proposal for receiving shared data
https://w3c.github.io/web-share-target/
Other
191 stars 20 forks source link

Mention the possibility of transferring a user ID via web-share + web-share-target #99

Closed jyasskin closed 2 years ago

jyasskin commented 3 years ago

It seems like a site could navigator.share({origin: location.origin, id: my_id_for_this_user}), and the (user-chosen) recipient could use that information to join its own user ID with the source origin's user ID. I believe this is an acceptable risk given that it requires both sides of the transfer to write code to accomplish the transfer (https://w3cping.github.io/privacy-threat-model/#model-cross-site-recognition) and that the user has to pick the recipient, but it'd still be good to mention it in the privacy considerations.