Skip to content

How to securely install sandpack on a website? #1061

Answered by danilowoz
lancejpollard asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, in response to your questions, it's important to highlight two important things:

  • When using Sandpack, CodeSandbox never stores the sandbox content in its server - everything runs in the user's browser.
  • By using Sandpack, you will only get static files from codesandbox.io, and these files will be responsible for evaluating and bundling the sandbox content you create.

If you want, you could serve the very same static files that CodeSandbox does in your serve and work with a very isolated solution without third (us) dependencies, but the result would be the same as you have now: a sandbox iframe running from an external domain but without the advantage in getting CodeSandbox latest bu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lancejpollard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants