#27534: Add CSRF_COOKIE_HTTPONLY note to CSRF AJAX docs -------------------------------------+------------------------------------- Reporter: Andrew Charles | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Documentation | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Andrew Charles): Replying to [comment:1 Tim Graham]: > It seems fine, but allegedly `CSRF_COOKIE_HTTPONLY` [https://groups.google.com/forum/#!topic/django-developers/nXjfLd8ba5k doesn't provide any additional security]. So I'm not sure if we're wasting our time enhancing its documentation rather than deemphasizing it in the documentation (or even removing it)? I know that a browser can ignore this setting and that it doesn't really provide additional security, but `CSRF_COOKIE_HTTPONLY` is currently recommended when running `python manage.py check --deploy`. Until it is removed I think this would improve the docs and avoid confusion when using it with AJAX. -- Ticket URL: <https://code.djangoproject.com/ticket/27534#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.4bbbc4dd45e0ff36d82f164d3f7a1693%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.