To share a website privately with specific people, publish it as a private site and invite each person by email. On host0 every new site starts private, so it takes two steps: publish, then add their addresses. Each person signs in with Google or a 6-digit code sent to the invited address, there's no shared password to pass around, and you can remove one person without touching anyone else's access.
Most hosts answer "how do I make my site private?" with a password: one secret for everyone, typed into a prompt. That works until someone forwards it, or until one person should lose access and everyone has to get a new password. This guide walks through the other way, per-person invites, on a real app with a screenshot of each step: what you click, what the people you invite receive, what everyone else sees, and how to take access away. At the end there's a side-by-side with the password options from Vercel, Netlify, Google Sites and tiiny.host.
3
Visibility levels: private, anyone with the link, public on the web
Source: host0 dashboard, 21 Nov 2026
1
Emailed code to get in. No password, no account beforehand
Source: host0 test run, 21 Nov 2026
1
Step to remove someone; it holds from their next request
Source: host0 test run, 21 Nov 2026
The short version
- 1Private is the default. A new host0 site opens only for you until you invite someone. Our test app published as
visibility=privatewith no flag set. - 2Invite by email, not by password. Add an address on the Sharing tab, or ask your agent to. The person gets an email with a link and signs in with that exact address.
- 3Nobody needs an account first. Google or a 6-digit emailed code gets them in, and the code creates the account. The people you invite never need a plan and never count as seats.
- 4The check comes before the site. A visitor who isn't signed in gets host0's sign-in page instead of the site's files, and a request for its data gets
401 sign_in_required. - 5Removing someone is instant. Their next request is refused. Nobody else loses access.
- 6Changing visibility resets every session. Switching between private, link and public, even back to where you started, ends every session on that site, so people pass the sign-in check again; anyone still signed in to host0 is just redirected through it.
Private, anyone with the link, or public on the web#
Every host0 site has exactly one of three settings, chosen on the app's Sharing tab under Who can open it:
The three settings

Source: host0 dashboard, 21 Nov 2026
They differ on two questions: does a visitor have to sign in, and can a search engine list the site?
What each setting means
Who gets in, and whether search engines may index the site
Source: host0 docs: access control
"Anyone with the link" is the right setting for a page you're happy to have forwarded, like a demo or a flyer. Public on the web is for things you want found: a portfolio, a landing page, docs. Choosing it asks you to confirm first, because getting out of search results is slow:
Going public asks first

Source: host0 dashboard, 21 Nov 2026
The rest of this guide is about the first card: a site only specific people can open.
How to share a website privately with specific people#
From a file to a site only your people can open
Publish
Private by default, at <slug>.host0.app.
Invite by email
One address per person, up to 10 at a time.
They sign in
Google or an emailed code. No password.
Remove when needed
Effective on their next request.
Source: host0 test run, 21 Nov 2026
Step 1: Publish the site, private by default#
There are two ways to get a site onto host0, and both leave it private.
From an AI agent. Give Claude Code, Codex, Cursor or another agent the host0 skill (setup for each is on the integrations pages) and ask it to publish the folder. The skill's publish script prints a result block; ours, for the test app in this guide, included:
publish_result.action=create
publish_result.visibility=privateWe didn't pass a --visibility flag: private is what you get when you say nothing. The site lives at a random address like <slug>.host0.app, which you can rename later. The full walkthrough of building and publishing with an agent is in the team app guide.
From your browser. Drop an HTML file, a PDF or a folder on your dashboard, or on the share an HTML file and PDF to link pages. Those pages can sign you up on the spot, and the site lands in your dashboard, private, like one from an agent. How to share an HTML file compares this with eight other ways to get a link.
If your host0 account is new, it needs a plan before its first publish: new accounts start with a 7-day free trial (pricing). Sharing privately is on every plan.
Step 2: Invite people by email#
Open the app's Sharing tab. Under People, type an address and click Invite. The box says what that means: "Only these people can open it. They sign in with this email."
Adding someone

Source: host0 dashboard, 21 Nov 2026; test accounts
Access is granted at once, and the dashboard confirms the email went out:
Invited

Source: host0 dashboard, 21 Nov 2026; test accounts
You can do the same without the dashboard. Tell your agent "invite priya@ and sam@ to the site" and it uses the skill's invite call; the host0 CLI has host0 share <app> a@b.com, and the host0 MCP server has a share tool. Two limits keep invites from turning into spam: at most one email to the same address every 60 seconds, and 500 invite emails an hour.
The list does a second job if your site saves data: the people on it count as members, who by default can also edit and delete shared records. That part has its own guide.
Step 3: What the people you invite get#
Each person gets an email naming the site, with an Open app button and, for people new to host0, a link to create an account with the invited address. The plain-text version ends: "This invitation gives you access as a member. The app's owner controls your permissions and can remove access."
The invitation email

Source: host0 test run, 21 Nov 2026; test account
When they open the link, host0 shows its sign-in page before anything from your site loads:
The sign-in page in front of a private site

Source: host0 test run, 21 Nov 2026
They sign in with the invited address and land on your site. That's all they need: the people you invite never need a plan and never count as seats. A free host0 sign-in, which the code creates, is enough. In our test the invited person typed their address, read the code from their inbox and was on the site in one pass.
Step 4: Check what everyone else sees#
Anyone who has the link but isn't on the list gets the same sign-in page. If they sign in anyway, host0 tells them they aren't on the list and names the address they used, so they can ask you to add it:
Signed in, but not invited

Source: host0 test run, 21 Nov 2026; test account
The check covers every file, not only the home page. In our test, a logged-out request for the site's root and one for a file inside it were both redirected to sign-in, and a request for the site's data came back as 401 with "error":"sign_in_required" and no records. The redirect carried X-Robots-Tag: noindex, nofollow, noarchive, so search engines don't list the address either.
A page-level password script is different: the protected content is often already in the page the browser downloaded. Here, an uninvited browser never receives the files at all.
Step 5: Remove someone#
On the Sharing tab, open the … menu on the person's row and choose Remove access. Resend invite is in the same menu.
Removing one person

Source: host0 dashboard, 21 Nov 2026; test accounts
It holds from their next request. There's no waiting for a cookie to expire: removing someone ends every session the site had handed out, and only people still on the list get back in. The others keep their access and go through host0's sign-in check once more on their next page load; if they're still signed in to host0, that's a quick redirect rather than a new code. When the removed person reloaded, this is what they saw:
The removed person, after a reload

Source: host0 test run, 21 Nov 2026; test account
A page they already had open keeps what it loaded until they reload or the page fetches something new. If the site was built to refresh its data, that next fetch is refused; the team app guide shows what that looks like.
Step 6: Change who can open it, knowing it resets every session#
To switch the site to "Anyone with the link" or back, click the card on the Sharing tab. The panel's description changes with it:
Switched to anyone with the link

Source: host0 dashboard, 21 Nov 2026
Your agent can change it too ("make the site private again"): the skill uses the API, the CLI has host0 visibility <app> private, and the MCP server has set_visibility.
Password protection or email invites?#
If you searched for how to password protect a website, here's the honest comparison. host0 has no shared-password option. Access is a list of email addresses, and each person proves who they are by signing in. Here is how that compares with what the big hosts offer, in their own docs:
Ways to make a site private
What each option lets in, how you take one person out, and what it costs; vendor docs read 21 Nov 2026
Sources: Vercel: deployment protection; Netlify: password protection; Google Sites help; host0 docs
Two things decide which is right for you.
Who are the people? Vercel Authentication and Netlify team login avoid a shared password, but they're built for your own team: everyone you let in needs a Vercel account with access to the project, or a place on your Netlify team. That's fine for colleagues who deploy with you, and awkward for a client, a reviewer or your family. Google Sites Restricted works by name or email but only for a site built in Google Sites.
Do you need to take one person out? With one shared password, Netlify says it plainly: "Anyone can use your basic password." Removing one person means a new password for everyone, and you can't tell who used it. With per-person access, you remove one address and the rest carry on.
A shared password does have advantages. There's no email round trip, nobody gives you their address, and it's one string to paste. If you're sharing a draft with one person for an afternoon, "anyone with the link" plus a random address may be all you need. For anything you'd mind being forwarded, or a group that changes over time, invites are the safer default.
On a phone#
The sign-in page and the site both work at phone width, so people can accept an invite from the email on their phone:
The same private site on a phone


Source: host0 test run, 21 Nov 2026; test data
What private does and doesn't protect#
Private controls who can open the site. It isn't a vault for secrets inside the site. Everyone you invite downloads its files like any visitor would, so an API key or a password written into the page's code is readable by every invited person. Keep secrets out of the files.
"Anyone with the link" is unlisted, but not secret. Links get forwarded, and an address you renamed to something readable can be guessed. For anything sensitive, use private.
Private works the same on your own domain, on plans that include one: the sign-in step and removal behave the same on docs.yourcompany.com as on <slug>.host0.app.
If you want to know who actually opened the site, the Analytics tab counts visits without cookies, and on a private site it counts only people who got past the sign-in. It doesn't list visitors by name; can you see who opened your link? explains why few tools can.
FAQ#
Can I password protect a website on host0?#
No, host0 doesn't use a shared password. A private site is open to a list of email addresses, and each person signs in with Google or a 6-digit code sent to that address. It does the same job as a password, keeping everyone else out, and lets you remove one person without changing anything for the others.
What is private website hosting?#
Hosting where the site's files are served only to people you allow, instead of to anyone with the address. On host0 every new site is private until you invite someone or open it up, and a visitor who isn't on the list gets a sign-in page instead of the site.
Do the people I invite need an account or a paid plan?#
No. They need to sign in with the address you invited, and the emailed code creates a free host0 sign-in on the spot. Invited people never need a plan and never count as seats; only the person publishing has a plan.
What happens if someone forwards the invitation email?#
The person it's forwarded to can open the link but can't get in, because access is tied to the invited address. They'd have to sign in as that address, which needs access to its inbox or Google account.
How quickly does removing someone take effect?#
On their next request. Removing an invite ends every session the site had issued, and the removed person gets "This app is private" when they reload. Everyone still on the list keeps access and passes the sign-in check once more.
Why did everyone have to sign in again?#
Because the site's visibility changed, or someone was removed from the list. Both end every session on that site, and a visibility switch does it even if you switched straight back. Access isn't lost; each person passes the sign-in check again, which is only a redirect if they're still signed in to host0.
Can I share a site privately from my AI agent?#
Yes. With the host0 skill, the agent publishes privately by default and can invite people when you give it their emails. After the first publish of a private site, the skill asks whether you want to invite anyone.
Will a private site show up on Google?#
No. Private sites and sites open to anyone with the link are never indexed: every response carries X-Robots-Tag: noindex, nofollow, noarchive. Only sites you deliberately make public on the web may be listed.
How we tested this#
We ran everything on 21 November 2026, between 10:35 and 10:55 UTC, on a local copy of host0, so the addresses in our screenshots were local ones; we cropped them out, and on host0 they read <slug>.host0.app and host0.ai. The site was the ticket board from our team app guide, published with no visibility flag. Three throwaway accounts at example.com (an owner, an invited person and an uninvited one) each signed in with an emailed code in its own browser session, plus one session at phone width. We changed visibility with the dashboard cards, went from private to anyone with the link and back, cancelled at the "Make it public on the web?" dialog, and left the site private. The logged-out checks of the site, one of its files and its data were plain HTTP requests. We used the emailed code throughout and didn't test the Google sign-in path. What "public on the web" does for search comes from host0's docs, not a measurement. The other products' behaviour and prices come from their own documentation, read on 21 November 2026; the tiiny.host price is from our 30 September 2026 profile of it and wasn't re-checked, because its pricing page wouldn't load without a browser.
host0 exists for this step: whatever your agent made, a link you can share with exactly the people you choose. Start from the agents page, or drop a file on the dashboard.
