Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Document CSP recommendations #1153

Open
karlhorky opened this issue Jun 27, 2024 · 0 comments
Open

Documentation: Document CSP recommendations #1153

karlhorky opened this issue Jun 27, 2024 · 0 comments
Labels
triage New issues that needs consideration

Comments

@karlhorky
Copy link

Hi, I was just trying to use Sandpack (via @codesandbox/sandpack-react) with an app with a strict Content Security Policy (CSP) today, and I couldn't find any CSP documentation.

Maybe it would make sense to document the recommendations for CSP?

Eg:

frame-src https://*.codesandbox.io/

This would cover the https://2-14-4-sandpack.codesandbox.io/ format that I saw was being requested as a frame-src when I was using Sandpack. (apparently this 2-14-4 is the version number of my local package 😮)

I'm not sure if there are any other requirements for a CSP for Sandpack.

@karlhorky karlhorky added the triage New issues that needs consideration label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New issues that needs consideration
Projects
None yet
Development

No branches or pull requests

1 participant