#36784: Add CSP support to Django's script object and media objects
--------------------------------+------------------------------------------
     Reporter:  Johannes Maron  |                    Owner:  Johannes Maron
         Type:  New feature     |                   Status:  assigned
    Component:  Forms           |                  Version:  6.0
     Severity:  Normal          |               Resolution:
     Keywords:                  |             Triage Stage:  Accepted
    Has patch:  1               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  1
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+------------------------------------------
Comment (by Jacob Walls):

 Can I ask for some clarification on the security angle? It seems all of
 the "cons" reduce to the proposition that we ''trust'' at least some
 portion of the `request.context`. (Either potentially *any* key with a
 reusable `context` filter, or just a hard-coded key for csp nonces.) I
 thought `request.context` was already trusted, so I'm having to grasp at
 straws to imagine the concern: is it that in a stack of reusable apps not
 totally under your control, you cannot reason about whether or not the
 contents of `request.context` have been sanitized if user-controlled? Or
 something else?

 ----
 I'm glad to have the Steering Council's eyes here to ratify an approach,
 as I'm very keen to advance this for 6.1 (feature freeze mid-May).
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36784#comment:26>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019d24ec8022-a9d999d0-5d55-48b9-ab04-695a284b9ea3-000000%40eu-central-1.amazonses.com.

Reply via email to