# Is there a way to use Visual Editing on a URL that requires Basic Auth to access?

**URL:** <https://forum.builder.io/t/is-there-a-way-to-use-visual-editing-on-a-url-that-requires-basic-auth-to-access/4444>\
**Category:** Visual Editor Help\
**Created:** [November 10, 2023, 10:58pm UTC](https://forum.builder.io/t/is-there-a-way-to-use-visual-editing-on-a-url-that-requires-basic-auth-to-access/4444 "2023-11-10T22:58:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![salman.qureshi](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@salman.qureshi](https://forum.builder.io/u/salman.qureshi)\
**Post date:** [November 10, 2023, 10:58pm UTC](https://forum.builder.io/t/is-there-a-way-to-use-visual-editing-on-a-url-that-requires-basic-auth-to-access/4444/1 "2023-11-10T22:58:41Z")

</div>

Our customers would like to work on content in a Builder Environment that points a non-publicly accessible site/url. Once that content is visually edited and ready they would like to publish it to Production, which is publicly accessible.

To do this, we can secure the preview site behind Basic Auth. However, how will the [builder.io](http://builder.io) visual editor access a preview url that is protected with basic auth? How will it pass the username and password along with the preview url to us?

Thanks  
Salman

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 15, 2023, 7:17am UTC](https://forum.builder.io/t/is-there-a-way-to-use-visual-editing-on-a-url-that-requires-basic-auth-to-access/4444/2 "2023-11-15T07:17:14Z")

</div>

Hello @salman.qureshi,

Greetings and welcome to the [Builder.io](http://builder.io/) forum!

For assistance with your implementation requirements, you might discover valuable insights in the following forum post:

> [@Create Private Pages that are accessible only after authorization](https://forum.builder.io/t/create-private-pages-that-are-accessible-only-after-authorization/58):
>
> Hi there Is it possible for me to create a Page that can only be viewed privately? I have certain pages on my site that should only be accessible after login I can control that flow on my application - but nothing stops someone from using my public builder api key from my deployed source code to bypass my frontend (which serves as a proxy to Builder)

Feel free to explore the discussions in that thread, and if you have any specific questions or need further clarification, don’t hesitate to ask. The community is there to support you!

---

<div class="post-metadata">

**Author:** ![mkbctrl](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mkbctrl](https://forum.builder.io/u/mkbctrl)\
**Post date:** [January 2, 2025, 10:07pm UTC](https://forum.builder.io/t/is-there-a-way-to-use-visual-editing-on-a-url-that-requires-basic-auth-to-access/4444/3 "2025-01-02T22:07:17Z")

</div>

@manish-sharma since I read all the posts about pages behind auth, with all due respect, please put more effort into understanding what the issue is really about. You provide links to entirely different cases.

If you need a more in depth description of the issue alone, I am happy to assist

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [January 8, 2025, 6:16am UTC](https://forum.builder.io/t/is-there-a-way-to-use-visual-editing-on-a-url-that-requires-basic-auth-to-access/4444/4 "2025-01-08T06:16:56Z")

</div>

Hello @mkbctrl,

Could you please provide a more detailed description of the issue? It would really help me gain a clearer understanding of the challenge you’re facing. Once I have more context, I’ll be happy to assist you further.

Looking forward to your detailed explanation.

Thanks,
