PrefectHQ / legacy-ui

The home of the Prefect 1 UI
https://cloud.prefect.io
Other
179 stars 42 forks source link

Bugfix: allow embedding only from current origin #1380

Closed jawnsy closed 1 year ago

jawnsy commented 1 year ago

Add frame-ancestors 'self' to Content-Security-Policy (equivalent to X-Frame-Options SAMEORIGIN) to prevent clickjacking attacks.

Closes: https://github.com/PrefectHQ/devsecops/issues/833

Description

<! -- What is it meant to do? -->

Linked Issues

<! -- Use a key word (e.g. closes or resolves) to close related issues -->

Tests and performance