# Embedding a private space on my website

**URL:** <https://discuss.huggingface.co/t/embedding-a-private-space-on-my-website/39608>\
**Category:** Spaces\
**Created:** [May 12, 2023, 6:20am UTC](https://discuss.huggingface.co/t/embedding-a-private-space-on-my-website/39608 "2023-05-12T06:20:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [May 12, 2023, 9:12pm UTC](https://discuss.huggingface.co/t/embedding-a-private-space-on-my-website/39608/2 "2023-05-12T21:12:29Z")

</div>

hi @asach,  
Currently to embed a Space externally, you need a public Space. If you want to protect the content of your public Space you can follow this workaround

> [@Embedding Spaces with auth for public models counter-intuitive?](https://discuss.huggingface.co/t/embedding-spaces-with-auth-for-public-models-counter-intuitive/32868/3):
>
> Hello @EtheE, thank you for your feedback. We have received similar requests in the past, we might implement a solution it in the future. However, we have previously suggested different workarounds depending on the specific use case: To hide sensitive source code on Space, you can create a private Space and a second public Space which only loads the private Space using the ‘gr.Interface.load()’ method. This method can load a Space even if it is private. Check more her [Gradio Docs](https://gradio.app/docs/#interface-load). To hide …

---

_[View the full topic](https://discuss.huggingface.co/t/embedding-a-private-space-on-my-website/39608)._
