Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this library a good replacement for localstorage and session storage for security #98

Open
startupbuilders777 opened this issue Mar 16, 2018 · 2 comments

Comments

@startupbuilders777
Copy link

startupbuilders777 commented Mar 16, 2018

I was wondering if putting authorization tokens from a web api to a memory cache is better for preventing xss attacks than using localstorage or sessionstorage (or if its the same risk)

@BCsabaEngine
Copy link

It is "only" a storage. Stored data is your privileges. Not better, not worst.

@IvanAdmaers
Copy link

It’s not possible to you this package for saving any data in browser because if a user refreshes a page your saved data in memory cache will be lose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants