Re:Stripe responded to my concerns about user tracking
by mehrdadn on Thursday April 30, 2020 @10:19PM
(#23038488)
It's fairly obvious that this is about keeping secrets from other users locally whereas the fragment discussion is about keeping secrets from the server and that these two are not the same thing. People reasonably see the fragment as none of the server's business independently of whether it's any other local user's business (the latter fact itself being no one else's business to care about).
[ Parent
| on HN ]
Re:Stripe responded to my concerns about user tracking
by dzhiurgis on Friday May 01, 2020 @12:01AM
(#23039004)
Seems like both Stripe and website author are misusing the browser feature.
Seems like core problem is lack of storage API that can only be accessed from JS that's executes from same domain?
Edit: Seems localStorage does isolate per domain, but I am not sure whether it's for page itself or for external JS too.
Re:Stripe responded to my concerns about user tracking
by ppseafield on Friday May 01, 2020 @04:00AM
(#23040020)
I've found some places say localStorage is insecure, but both OWASP [0] and MDN [1] say it isolates by origin. Third party scripts from different origins shouldn't be able to access it, but a successful XSS attack could have access.
[0] https://cheatsheetseries.owasp.org/cheatsheets/Session_Manag...
[1] https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage...