Re:Show HN: A Chrome extension to see notifications for comm...
by jjeaff on Friday March 26, 2021 @05:08PM
(#26596957)
Perhaps you could hash the session id, with a secret salt on server side. Then you could discard the original and store and pass along the hashed session id. That way, anyone you send it to would not be able to impersonate the hn user. You could also hash with a different salt before sending to a 3rd party so that they would not be able to impersonate someone's account in your extension.
[ Parent
| on HN ]
Re:Show HN: A Chrome extension to see notifications for comm...
by unamashana on Friday March 26, 2021 @06:07PM
(#26597567)
Just to be clear, we simply validate your session by requesting the page with your cookie and seeing if we get a logged in page. We never send your info to any third party.
Re:Show HN: A Chrome extension to see notifications for comm...
by pvg on Friday March 26, 2021 @06:19PM
(#26597687)
For the purposes of authenticated interactions between HN and the user, you are the third party who now has full access to the user's account. App/extension stores generally take a dim view of/outright prohibit this because of its high abuse potential.
Re:Show HN: A Chrome extension to see notifications for comm...
by linkdd on Friday March 26, 2021 @06:13PM
(#26597624)
You can claim whatever you want to claim, we unfortunately have no way to ensure that this is true.
This is a security hazard, period.
While the feature is nice, and I like the design of the notification dropdown, this is a risk I (and probably many) won't take.