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

the default setting session is cookie? #68

Closed
superbogy opened this issue Mar 3, 2017 · 1 comment
Closed

the default setting session is cookie? #68

superbogy opened this issue Mar 3, 2017 · 1 comment

Comments

@superbogy
Copy link

The default setting put session in client cookie, is it safe? As I know cookie work in client and session just put an sessionId in client take session value in server side . koa-session without store put session value in cookie even if it is encoded but I think all from client is not worthy of trust.

@dead-horse
Copy link
Member

With the default setting, cookies are all signed, which means user can not change(or fake) session from client side, we'll check the sign in the server side.

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

2 participants