Content Security Policy for iFrame embedding
This commit is contained in:
@@ -71,7 +71,7 @@ Rails.application.configure do
|
||||
# The `child_src` directive is only a fallback for browsers not supporting `worker_src`.
|
||||
policy.child_src :self, :blob
|
||||
policy.form_action :self
|
||||
policy.frame_ancestors :none
|
||||
policy.frame_ancestors :self, 'https://*.htwk-leipzig.de'
|
||||
policy.frame_src :none
|
||||
policy.manifest_src :none
|
||||
|
||||
|
Reference in New Issue
Block a user