# Keeping a site private: unlisted, a password, or a sign-in

> A hidden link is not a locked door. See the three real ways to close a site, which one fits who needs in, and what each one cannot do.

Source: https://customhosted.com/guides/keeping-a-site-private/

№ 11 Field manual

Operations · Updated 25 November 2026 · 6 min read

Contents

1. Unlisted is not private
2. Three ways to close a site
3. Pick by who needs in
4. What a gate does not do
5. Staging is already closed
6. Asking for it

The short version

1. 01 — Unlisted is not private. A noindex tag asks a crawler to skip a page. Anyone with the link still opens it.
2. 02 — Three gates close a site: a shared password, a sign-in in front, and a network allowlist. A static site gets the password only.
3. 03 — Pick by who needs in. A client reviewing a draft needs staging. A member of your service needs your app’s own login.
4. 04 — A gate is a briefed change. You describe it, an agent opens the pull request, and a person merges it.

## Unlisted is not private

Many people hide a draft site. They leave it out of the menu and tell no one the address. That is _unlisted_. It is not _private_.

A noindex tag asks a search engine to skip the page. A missing sitemap entry means the engine gets no hint that the page exists. Both are requests. Neither one stops a person who has the link.

This site shows the difference. Its social-share cards live under `/og-card/`. Each one carries a noindex tag, and `check:seo` fails the build if one loses it. The sitemap leaves them out. Anyone can still open them. A page that is hidden from search is a public page. See [being found](https://customhosted.com/being-found) for the search side.

## Three ways to close a site

A real gate checks each request before it serves a page. Developers call the first kind [basic authentication](https://customhosted.com/glossary#shared-password). We call it a shared password. Three gates exist:

| Gate | Who gets in | Static site | Dedicated | Remove one person | How you ask |
| --- | --- | --- | --- | --- | --- |
| A shared password | Anyone who knows one password. | Yes. The edge checks the password before it serves any file. A password check is a rule, not your code. | Yes. The same check runs in front of the app. | No. You change the password for everyone. | A briefed change. |
| A sign-in in front | People with an account at an identity provider that your company already has. | No. The check that matches a URL to a rule runs at the edge. It doesn't run your code. Anything that computes an answer per request needs an instance behind it. | Yes. A sign-in step on the instance sits in front of the app. | Yes. You remove the person at your identity provider. | A briefed change. We run no identity service. |
| A network allowlist | Anyone on a listed network address, such as one office. | No. No web-application firewall or rate limiting as standard. A static site has no firewall of its own to narrow. | Yes. The instance firewall can be narrowed, so only listed addresses reach the app port. | Not one person. You remove an address. | A briefed change. |

See [under attack](https://customhosted.com/under-attack) for the firewall and the perimeter, and [delivery](https://customhosted.com/delivery) for the rules the edge runs.

## Pick by who needs in

Start with the people, not the tool. Find the row that matches yours:

- **A client who reviews a draft:** Staging. A private staging copy fits this. It comes with the Static Pro plan, or as the staging environment add-on. The client gets an invite. [Environments](https://customhosted.com/environments).
- **A handbook for a small team:** A shared password. One password is enough when the group is small and stable.
- **A team with company accounts, where people leave:** A sign-in in front. You remove a leaver once, at your identity provider.
- **A tool used from one office:** A network allowlist. Only the office address gets through.
- **Paying members or customers:** Your app’s own login. Those people need accounts, resets, and their own data. That is your application’s job. [Logins](https://customhosted.com/logins).

## What a gate does not do

- **A shared password travels.** Anyone who has it can pass it on. You cannot see who did.
- **A link preview shows nothing.** A chat app fetches the page to draw a preview. The fetcher has no password, so it gets refused. See [link previews](https://customhosted.com/guides/link-previews).
- **A gate is not your app’s login.** We do not run a login, single-sign-on, or social-login service on your behalf, and we do not set your app's cookie flags. Your application owns the login end to end; hosting only supplies what it stands on.
- **A search engine cannot index a gated page.** That is the point.

## Staging is already closed

If you only need a client to review a draft, you need no new gate. **Private by default.** Not linked from anywhere on your live site, not submitted to a search engine, and left out of the sitemap. Reaching it is a matter of knowing the address and being allowed in — access is controlled, not just unlisted.

So a client gets an invite, not the address alone. Read [environments](https://customhosted.com/environments) for the whole staging copy.

## Asking for it

A gate touches the edge rules, and it needs a test. So it is a briefed change, not a free single rule. [CodeHerder](https://codeherder.com) carries it. The test checks that a request with no password gets refused. This is how one change ships:

1. **You say who needs in.** Write one line: put a password on the whole site. Say who gets the password and who must stay out.
2. **Briefed as a change.** Written up the same way any other change request is. The iteration add-on is what covers it.
3. **An agent opens the pull request.** The change lands as a real pull request against the repository, with the test suite run against it.
4. **A human reviews and merges.** Someone reads the diff before it goes anywhere near production — nothing here is auto-applied blind.
5. **It ships through the same pipeline.** The same pipeline that deploys everything else on your stack ships this too — no separate process to babysit.
6. **You're told it's done.** A note confirming what changed and that it merged, in the same shape as every other note on this site.

CodeHerder is $25/mo on any plan. A shared password on a static site fits the Static Starter plan at $5/mo. [Quote this shape](https://customhosted.com/contact?plan=ST-STARTER&amp;addons=AD-CH&amp;stage=already-live&amp;type=content). The form opens with this plan and add-on filled in.

A sign-in or an allowlist needs a dedicated instance, from the Dedicated S plan. [Quote that shape](https://customhosted.com/contact?plan=DD-S&amp;addons=AD-CH&amp;stage=already-live&amp;type=content). [CustomLabs](https://customlabs.io) builds the login if your app needs its own. Read [logins](https://customhosted.com/logins) for that boundary.

Next in the manual

## Keep reading

- [A site in two languages: one address per language Give each language its own address. See how a static site serves two languages, what to tell search engines, and why a redirect by language fails.](https://customhosted.com/guides/a-site-in-two-languages)
- [What “managed” actually means — and the hours it gives back See the work managed hosting takes off your week: patching, backups, monitoring and a human who answers. Each task comes with the hours it saves.](https://customhosted.com/guides/what-managed-hosting-includes)
- [Search on a static site: a search box with no server A static site can have a search box. See the four ways to build one, what each one costs, and when a site outgrows the simplest.](https://customhosted.com/guides/search-on-a-static-site)

## Ready to start?

Tell us what you're running — one fixed monthly rate, within a business day.

[Get a quote →](https://customhosted.com/contact)
