Wednesday, 2 September 2020

Is there a security concern with storing tokens in a database instead of in cookies?

Normally I would use cookies to save login tokens, but since this is an Electron app, I control the browser and can save the cookies in a sqlite database on the users machine with all my other app data.That's equivalent to cookies right? Plaintext on the local drive.I'm just wondering if there's any non obvious security implications.

Submitted September 02, 2020 at 03:59PM by abandonplanetearth

No comments:

Post a Comment