Content-Security-Policy
CSP limits which sources a browser may use for scripts, styles, images and other resources. Build directives around the application's real dependencies. A policy that is too broad adds little protection; one that is too strict can break legitimate pages. The Content-Security-Policy-Report-Only header lets you observe policy violations without enforcing the candidate policy; review behavior before you enforce it.