Privacy Feature
There should be a way of handling privacy with the unique link.
Current proposal: If the user is not in incognito or private browsing mode, detect this and have a red warning symbol that says "Not in Incognito or Private Browsing Mode".
Design wanted!
Can refer this link when we want to add this feature.
That link seems great, but I think we will need other ways to support other browsers. I noticed it includes in its dependency "is-chrome". I think this only works for detecting a private session in chrome.
Some browsers to try and support:
Chrome, Edge, Firefox, Safari, Opera, Safari for iOS, Android web view, Chrome for android, Edge Mobile, Firefox for android, Opera for android, Samsung Internet, Internet Explorerer
One glaring problem with the current proposal, as I understand it, is that the page still loads, even if not in private session. Which means that even if the user sees the warning and then opens the link in a private session, it's too late - the original URL has already been added to the client's browser history. Which is the thing we're trying to avoid. If we prevent the resources from loading unless a private session is detected, then the app would be unusable in browsers that don't support private-session detection. As an alternative, how about if the primary user has the option of sending a "secure" URL (by "primary user", I mean the social worker, as opposed to the sw's client - sorry, do we have better terminology for different types of users?) Anyway, the sw would be the best judge of whether the unique URL being sent requires security or not - if it's a list of day care providers, then it probably isn't worth the added hassle of preventing it from appearing in client's history. But if it does contain potentially sensitive info (ie domestic abuse hotline, etc), sw could click a special button to generate a secure URL, which is just the regular url but with the params encrypted. (I can explain this idea at greater length tonight at CfB session.)
I proposed a plan before, but it got shot down. In many browsers you currently can replace an item from the user's history. Why not just replace this page's url from the client's browser history as soon as it is created? (With something that's not private, such as google.com)
Here' MDN's documentation on this, in it check out replaceState():
https://developer.mozilla.org/en-US/docs/Web/API/History_API
This issue has not received much traction since it's proposal - the individual is not tied to the link, and there is no profile generation taking place. Further privacy issues should be explored in a new, concise issue.