new setting 'content-security-policy'
authorSébastien Marie <semarie@users.noreply.github.com>
Fri, 24 Oct 2014 09:55:42 +0000 (11:55 +0200)
committerSébastien Marie <semarie@users.noreply.github.com>
Fri, 24 Oct 2014 12:12:15 +0000 (14:12 +0200)
commit8f3379aeb8dc47340bbb18091a0c0cd879f25f4e
treeca1bbc02aad78b6912733b7fdf719ac2b07ec35f
parent18dbc8744bc5231335188df2210c52c6df917397
new setting 'content-security-policy'

Add a new setting 'content-security-policy', that will set the
'Content-Security-Policy' HTTP-Header on the response, before webkit
processing it.

This setting allow to implement a request-policy based on WebKit
security feature, by whitelisting where the application expects to load
resources.
doc/vimb.1
src/main.c
src/main.h
src/setting.c