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

Add page noting the default cookies Apostrophe places #109

Open
abea opened this issue Aug 8, 2018 · 6 comments
Open

Add page noting the default cookies Apostrophe places #109

abea opened this issue Aug 8, 2018 · 6 comments

Comments

@abea
Copy link
Contributor

abea commented Aug 8, 2018

Clients occasionally pop in with GDPR related questions about Apostrophe. I thought one brief and directed page could answer this and show proactivity from Apos on the issue.

From dev tools and some Googling I think this would be limited to:

@boutell
Copy link
Member

boutell commented Aug 8, 2018 via email

@boutell
Copy link
Member

boutell commented Aug 8, 2018 via email

@abea
Copy link
Contributor Author

abea commented Aug 8, 2018

Right. Most sites will have to anyway for Google Analytics.

I did a quick test clearing cookies and I do think I get the sid cookie even as an anon.

@sergiodop92
Copy link

I am having also troubles related to this. I am trying to disclose the info stored in cookies, but I do not get to see what is in .sid for anon users. I know that it is created unless apostrophe-express is properly configure with the disableAnonSession set to true. But if I do that, apostrophe-workflow stops remembering the language of a user from one visit to another. So I think I would opt to let it on.

So, how can we know what is stored in the cookie exactly? Thanks in advance.

@boutell
Copy link
Member

boutell commented Dec 12, 2019

The sid cookie contains the session identifier for express sessions, which in turn are used to retain information server side in a database or other session store, so we don't have to store a large cookie or put sensitive information in it.

The cookie goes away for anons if disableAnonSession is true.

You are losing the language because you did not fully configure either URL prefixes or hostnames or a mix of both sufficient to clearly indicate the locale before enabling disableAnonSession. You must do that before using the feature.

@sergiodop92
Copy link

sergiodop92 commented Dec 12, 2019

And does apostrophe store any personal info in the session in the database? If no personal info is stored there is no problem for me having the "drawback" of needing to store a session and the truly random csrf.

I already opened a case in the apostrophe-workflow repo about my problem with the language, so we can discuss it further there :).

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

No branches or pull requests

3 participants