How to share a website privately with specific people

Publish the site private, add the emails of the people who should see it, remove anyone in one step. Tested, and compared with a shared password.

Title 'How to share a website privately with specific people' centred above three panels. Left, 'On the list': priya@, sam@ and dana@example.com with ticks, and alex@example.com struck through, 'Removed: refused on the next request'. Centre, a sign-in card: 'Sign in to view Team tickets', 'Continue with Google', 'Email me a code'. Right, 'Everyone else': 'This app is private, ask the owner to share it', with 'No files, no data, never indexed'. Along the bottom: 3 visibility levels, 1 emailed code to get in, 0 plans needed by the people you invite, 1 step to remove someone.
On this page

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

0

Plans or seats needed by the people you invite

Source: host0 docs: plans

1

Step to remove someone; it holds from their next request

Source: host0 test run, 21 Nov 2026

The short version

  1. 1
    Private is the default. A new host0 site opens only for you until you invite someone. Our test app published as visibility=private with no flag set.
  2. 2
    Invite 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.
  3. 3
    Nobody 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.
  4. 4
    The 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.
  5. 5
    Removing someone is instant. Their next request is refused. Nobody else loses access.
  6. 6
    Changing 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.

Every host0 site has exactly one of three settings, chosen on the app's Sharing tab under Who can open it:

The three settings

The “Who can open it” panel on the Sharing tab: “Only you and the people below can open it. Anyone else gets a sign-in page.” Three cards: Private, ticked, “Only you and people you share with — the default”; Anyone with the link, “No sign-in, unlisted, never indexed”; Public on the web, “Anyone, and search engines may list it — 3 on Free”. Below: “Want a readable address? Change it in Settings.”

Private is the default for every new site. The cap on the third card depends on your plan: 3 public sites on Starter, 25 on Pro. Our test account was on the older Free plan, which also allows 3.

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

SettingWho can open itSign-inSearch engines
Private (default)You and the emails you inviteYes, with the invited addressNever indexed
Anyone with the linkAnyone who has the addressNoNever indexed (X-Robots-Tag: noindex, nofollow, noarchive), unlisted
Public on the webAnyoneNoMay be indexed; opt-in and capped per plan
A random address is not a secret: a link gets forwarded, and a renamed, readable address can be guessed. Keep anything sensitive private.

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

A dialog: “Make it public on the web? Anyone can open it, and search engines may list it. If you switch back, listed pages can take weeks to drop out of search.” with Cancel and Make public buttons.

We clicked Cancel, so our test app was never public.

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

  1. Publish

    Private by default, at <slug>.host0.app.

  2. Invite by email

    One address per person, up to 10 at a time.

  3. They sign in

    Google or an emailed code. No password.

  4. 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:

Text
publish_result.action=create
publish_result.visibility=private

We 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

The People box: “Only these people can open it. They sign in with this email. By default they can also edit and delete its shared data.” The field holds teammate-howto@example.com, next to an Invite button, with “We email them a link to the app.” underneath. The only person listed is owner-howto@example.com (you), Owner.

One address at a time here. Through the API or your agent, up to 10 go in one request.

Source: host0 dashboard, 21 Nov 2026; test accounts

Access is granted at once, and the dashboard confirms the email went out:

Invited

The People box after inviting: “Access granted and invitation email sent.” Two rows: owner-howto@example.com (you), Owner; teammate-howto@example.com, Invitation email sent, with a menu button.

The person is on the list from this moment. If the email can't be delivered, they still have access: you can send them the link yourself, or use Resend invite.

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

An email from host0: “App invitation. Team tickets. You've been invited to this app. Sign in with teammate-howto@example.com to open it.”, an “Open app” button, and “New to host0? Create an account with the invited email.”

It names the address to sign in with: access is tied to that exact 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

The host0 sign-in card: “Sign in to view Team tickets. This app is private — sign in to check your access.”, a “Continue with Google” button, an Email field and an “Email me a code” button. Under the card: “No password needed. New here? The code creates your account.”

Google, or a 6-digit code by email. There's no password, and the code creates the account if they don't have one.

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

The host0 page “This app is private. Ask the owner to share it with outsider-howto@example.com.” with a “Go to host0” button.

The visitor sees none of the site. The page names their address, not yours.

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

The People box with the menu open on teammate-howto@example.com's row, showing “Resend invite” and, in red, “Remove access”.

Nobody else on the list loses access.

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

The host0 page “This app is private. Ask the owner to share it with teammate-howto@example.com.” with a “Go to host0” button.

Same page an uninvited visitor gets, naming their address.

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:

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

OptionWho gets inRemoving one personPlan and price
Vercel Password ProtectionAnyone with the passwordChange the password for everyonePro, $20 per month per protected project; included on Enterprise; not on Hobby
Vercel AuthenticationVercel users with suitable access rightsChange their access on VercelNo paid add-on
Netlify basic passwordAnyone with the single shared passwordChange the password for everyonePro plans and up; not on the credit-based Free and Personal plans
Netlify team loginMembers of your Netlify teamRemove them from the teamEvery option on Enterprise; on Free and Personal, a private project is visible to the Team Owner only
Google Sites, RestrictedPeople or groups you add as Published ViewerRemove them in the Share dialogNo extra charge stated
tiiny.hostA password, an email gate or an allowed-emails list, by tier (our 30 Sep 2026 profile)Depends on the methodPaid tiers; Solo, with a password, was $13 a month on 30 Sep 2026, not re-checked
host0 privateThe email addresses you invite; they sign in with Google or an emailed codeRemove access; holds from their next requestEvery plan; people you invite need no plan
Vercel Authentication and Netlify team login need no password, but only let in people with an account on that service. A shared password lets in anyone who has it.

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

The host0 sign-in page on a phone: “Sign in to view Team tickets. This app is private — sign in to check your access.”, “Continue with Google”, an Email field, “Email me a code”, and “No password needed. New here? The code creates your account.”

The Team Tickets app on a phone, signed in as owner-howto@example.com: an add form and the To do column with three tickets.

The sign-in page an invited person sees first, and the site after signing in, at 390 px wide.

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.

GuidesSharing