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

More control over cookies #1398

Closed
christophKi opened this issue Feb 23, 2018 · 17 comments
Closed

More control over cookies #1398

christophKi opened this issue Feb 23, 2018 · 17 comments

Comments

@christophKi
Copy link

christophKi commented Feb 23, 2018

We discussed the possibility of giving admins more control over cookies (Session/Persistent Cookies) in BE, during user visits in FE. Especialy when a cookie isn't needed vor a website, e.g. when no language switch or forms over multible sites are used. In this case, there is no reason for session cookies in the FE.

It's also a nice idea, to have the posebility of setting expiry dates (e.g. language settings) of the cookies.

It's discussed in the forum under: https://community.contao.org/de/showthread.php?68627-Contao-Setzen-von-Cookies-verhindern-DSGVO-ePrivacy-2018&p=466131#post466131

Regards christoph

@fritzmg
Copy link
Contributor

fritzmg commented Feb 23, 2018

It's also a nice idea, to have the posebility of setting expiry dates of the cookies.

If you mean the session cookie, that's already possible.

@christophKi
Copy link
Author

If you mean the session cookie, that's already possible.

e.g. for the language switcher, but if it is not a contao core feature and has to be installed via extensions, i think it depends on the extension developer to implement such an option right?

Then cookie control would be nice for all contao core features witch uses cookies (If contao ever sets more than the seesion cooke in its core function). If not, control over the session cookie would be nice. (If it should be set in FE or not)

@fritzmg
Copy link
Contributor

fritzmg commented Feb 23, 2018

Contao does not have a language switcher. If you mean terminal42/contao-changelanguage - that extension does not save any cookies as far as I know.

@christophKi
Copy link
Author

I mean it more generally. If an extension needs cookies, the developer has to take care of the settings. Right? This is related to the question in the forum,
erster post: "Contao setzt standardmäßig "Sessions Cookies" beim Aufruf einer Website ein und über externe Erweiterungen je nach Anwendungsfall ggfs. auch "Persistent Cookies", welche dauerhaft (bis zur Löschung) im Browser gespeichert werden."
And
"Könnte man das Setzen von temporären (Core) Cookies in Contao irgendwie praktikabel und erweiterungssicher verhindern? Würde sich ggfs. auch das Setzen von weiteren Cookies per Opt-In steuern lassen? Dienste wie cookiebot.com bieten hierfür anscheinend eine externe Lösung."

But for contao-core. Are there more cookies in use than the session cookies?
If YES control over all contao-core cookies would be nice.
If NOT control over the session cookie would be nice.

@birdmedia
Copy link

I support the idea that Contao focuses on "privacy by design", regardless the fact whether DSGVO and ePrivacy Policy will explicitly require this step or not. Core session cookies should only be set when really necessary and not in advance. Maybe the creation of session cookies can be limited to the processes and functions where they are indispensably required (e.g. login in the backend, multi page forms etc.). Optional control over these settings could be added to the maintenance section of the backend. This feature should not only be applied to future versions of Contao but also to older versions. Website owners and webdesigners might soon have to take action and adapt existing websites which are not running the latest version of Contao.

@aschempp
Copy link
Member

aschempp commented Mar 5, 2018

This feature should not only be applied to future versions of Contao but also to older versions.

It's a feature. Old versions do not get new features. I don't know why that's so hard to understand…

@birdmedia
Copy link

I got your point as a core developer but I think if the worst case happens and a lot of website owners would be forced to modify or shut down their websites, providing applicable solutions should be more important than sticking to paradigms, especially concerning the LTS version. With a shifting perspective the status quo might turn out to be erroneous, so this wouldn't just be a feature but an essential part of core architecture.

@fritzmg
Copy link
Contributor

fritzmg commented Mar 9, 2018

Related: #1389

@leofeyer
Copy link
Member

As discussed in Mumble on March 15th, this is not something we have to implement.

  • We are already working on not starting the session in the front end, which turns out to be more difficult than expected. We hope to have a working solution in Contao 4.6.

  • If you feel like you have to adjust the PHP session timeout, your php.ini would be the correct place to do so.

  • Regarding the GDPR it is very likely that the Contao session cookie is not a problem, because it only stores a hash and is not used to track visitors.

We are in contact with the guys of Spirit Legal to make Contao GDPR compatible and we will take the necessary steps as soon as we reliably know what those are.

@Anke
Copy link

Anke commented Apr 12, 2018

I'm missing a lively discussion about GDPR related issues, not only about cookies but e.g. also about the comments function storing more data (of mandatory fields by default) that have never been necessary. Given that the GDPR was adopted in April 2016, it sounds rather planless to say "we will take the necessary steps as soon as we reliably know what those are."

@m-vo
Copy link
Member

m-vo commented Apr 12, 2018

The last mumble call showed there is a lively debate and there are a lot of things being taken into account and care of. But also that it is really not that easy to make clear statements at this point.

@Anke
Copy link

Anke commented Apr 12, 2018

I don't have mumble, and in the up for discussion labeled core issues there isn't much to find concerning the GDPR.

Is there any cheatsheet of all the data, Contao stores by default, that would help Contao users to write reliable privacy statements?

@m-vo
Copy link
Member

m-vo commented Apr 12, 2018

There is no cheatsheet and noone will be able to give you a reliable privacy statement as this is application related. The only thing the Contao core can do (and will do) is to make sure the used technology in the core does not conflict with the GDPR and to achieve as much 'privacy as default' as possible/sensible.

Many things just aren't clear, yet. See the quote of @leofeyer from above:

We are in contact with the guys of Spirit Legal to make Contao GDPR compatible and we will take the necessary steps as soon as we reliably know what those are.

@Anke
Copy link

Anke commented Apr 12, 2018

I read Leo's statement. It implies that no one took the matter serious during the past two years and that we cannot expect a GDPR compliant version before May 28th - if at all for Contao 3.5.

My point is that Contao users have to start writing their privacy statements providing utmost transparency about all data current Contao versions are collecting. Thus I asked for a list of all GDPR-relevant personal data Contao collects, assuming that the developer team would know best. The regular Contao user isn't necessarily aware of the fact that IP addresses are stored with comments and possibly with other functions as well.

@Toflar
Copy link
Member

Toflar commented Apr 13, 2018

Ip's are stored anonymized. For other data that's stored, I think it's best if you look at your database. You'll see what we store immediately (including all extensions).

@fritzmg
Copy link
Contributor

fritzmg commented Apr 13, 2018

The regular Contao user isn't necessarily aware

Those responsible for a web application need to audit their web application in any case and then take the necessary steps if applicable. This is not specific to a CMS for example.

@Anke
Copy link

Anke commented Apr 18, 2018

Seems to me that saving shortened IP addresses and user agents with any kind of form submission might not be compliant in the sense of GDPR's minimized data collection ...

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

8 participants