Re: [CSP] Dynamic CSP

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
> Still, the way for webapp design to achieve these goals with systems in
> place today is to deliberately change the execution context when the app
> needs to alter CSP.
>
> Is it worth injecting potential vulnerabilities in CSP (allowing the
> page to change its own policy) just to enable retaining the single
> execution state?

There is the safe use case of only allowing code to further restrict the
CSP policy. This is useful if you want to effectively "drop privileges."

Deian

Received on Wednesday, 4 February 2015 23:07:49 UTC