Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Making bitbucket cloud/static website access private

Krishna Kumar Singhal October 3, 2022

I'm using bitbucket cloud to host my website/test results, I need to control who can access that page.

My repo: https://bitbucket.org/*****/*****.bitbucket.io/src/main/

I want people who have access to the workspace to be able to access the wesbite:

https://*****.bitbucket.io/

Any help would be appreciated, will it be good to host this using an S3 instance?

2 answers

1 accepted

1 vote
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2022

Hey Krishna,

As per our documentation - Bitbucket Cloud static websites are viewable regardless of the repository privacy settings, meaning that anyone can view the static website.

For example, if the repository itself was private, access to the website is public - however, the repository data is not:
https://support.atlassian.com/bitbucket-cloud/docs/publishing-a-website-on-bitbucket-cloud/

If you need the website to be private, I would suggest using another hosting service for your purposes.

As this is a public discussion forum, I have censored the website/repo link you have included.

Cheers!

- Ben (Bitbucket Cloud Support)

  

Krishna Kumar Singhal October 5, 2022

Hi Ben,

Thanks for your reply, I had reached the same conclsion, just hoped that the static pages would work and will not have to use another hosting service.

 

Thanks again

Krishna

Like Augusto de Paula likes this
0 votes
Augusto de Paula May 12, 2023

This is a security breach since the website is part of the repository which is under access control. If someone doesn't have read access to a repository they shouldn't have also access to the html pages that are inside that said repo. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events