The post discusses how to use the Content Security Policy (CSP) header with Phoenix LiveView and provides guidance on setting up CSP headers, handling inline styles and scripts, and generating nonces. The CSP module in Phoenix is documented and instructions are provided on how to install and configure it in a Phoenix app.

6m read timeFrom danschultzer.com
Post cover image
Table of contents
Writing our first CSP headerAn inline style exampleCSP helpersConsiderations

Sort: