How to securely install sandpack on a website? #1061
-
Reading https://sandpack.codesandbox.io/docs/guides/hosting-the-bundler#security it says:
Does this happen in the default/basic installation of Sandpack? Is it loading the client/bundler from a third-party domain, like codesandbox.io? I couldn't find this exact info anywhere. If you want for things to be more secure, do you need to host it on a subdomain? Do you need to host every users' code as a separate bundler on it's on unique subdomain (so like Thanks for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, in response to your questions, it's important to highlight two important things:
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 bundler version and updates. |
Beta Was this translation helpful? Give feedback.
Hey, in response to your questions, it's important to highlight two important things:
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…