Password protect your website.
No server required.

Keep pages private with a password — no coding, no extra service, no complicated setup. Turn it on in your dashboard, choose what to protect, and share the password with the people who need access. Learn more in the docs.

Last updated: February 22, 2026

Not every web page should be public

Add a password to any page — no coding, no server, no extra tools.

Client deliverables. Internal documents. Course materials. Paid content. Not every page should be visible to everyone. ZeroDeploy lets you password protect your website without writing code, running a server, or signing up for another service. Toggle it on, set a password, and only people who know it get in.

Simple to set up. Seriously secure.

Password protection built into your site. Nothing to install or integrate.

Set up in seconds

Open your dashboard. Pick what to protect — your live site, preview versions, or both. Enter a password. Save. That's it. No configuration files, no code changes, no technical knowledge required.

Real security, not a workaround

Your password is encrypted with the same standard banks use. Failed attempts are rate-limited — 5 tries per 5 minutes, per visitor. No one can brute-force their way in. And the password never appears in your page source.

Visitors stay for 7 days

After entering the correct password, visitors have access for a full week without being asked again. No repeated logins. No frustration. Just a smooth experience for the people you've shared the password with.

How it works

Three clicks in your dashboard. No technical steps.

1

Choose what to protect

In your site settings, pick a protection scope: your live site only, preview versions only, or everything. Previews are useful for sharing drafts — protect them while keeping your live site public, or the other way around.

2

Set a password

Enter a password between 4 and 128 characters. Share it with clients, teammates, or students however you like — email, Slack, text. Only people with the password can see the page.

3

Visitors see a clean login page

When someone visits your protected page, they see a branded password prompt — not an ugly browser popup or a redirect to another service. They enter the password once and have access for 7 days.

Who uses password protection?

Any time you need a page that's online but not public.

Freelancers and agencies protect client work until it's approved. Course creators gate paid content behind a password. HR teams share internal documents with a private link. Designers show portfolio drafts to select reviewers. Sales teams create private pitch pages for specific prospects. Students protect group projects during grading.

Whether it's an HTML page, a PDF, a portfolio, or a full website — if it's on ZeroDeploy, you can lock it with a password. If you've ever emailed a file because you didn't know how to share a private link — this is the fix.

ZeroDeploy vs other ways to password protect a page

Most methods require coding, a server, or a separate service. ZeroDeploy doesn't.

Feature ZeroDeploy .htaccess JavaScript lock Server-side auth Third-party service
Setup Dashboard toggle Edit server config Write custom code Build a backend Sign up + configure
Coding required No Yes Yes Yes Varies
Works without a server Yes No (Apache only) Yes No Yes
Password visible in source No (encrypted) No Yes No No
Brute-force protection Yes (rate limited) No No You build it Varies
Session management 7-day sessions No sessions No sessions You build it Varies
Login page Clean, branded Browser popup Custom-built Custom-built Redirect to their site
Extra cost Included in Pro Free (needs server) Free (insecure) Server costs $5-15/mo

JavaScript-based password protection is the most common "quick fix" — but the password is visible in your page source code. Anyone who knows how to right-click and view source can bypass it. ZeroDeploy handles passwords on the server so they're never exposed — whether you're protecting an HTML page, a PDF, or an entire website.

Password protection is included in Pro

Pro — $29/mo includes password protection plus everything you need to run a site: custom domains, built-in forms (1,000 submissions/mo), privacy analytics on every site, email notifications, and up to 10 sites.

That's less than what most people pay for a standalone analytics tool — and you get hosting, forms, domains, and password protection on top.

Frequently asked questions

Do I need to write any code to add a password?

No. Open your site settings in the dashboard, turn on password protection, choose a scope, and set a password. No code, no files to edit, no technical knowledge needed.

What do my visitors see when they visit a protected page?

A clean, centered password page with your site name and a single password field. It looks professional — not a browser popup or a redirect to another website. After entering the correct password, they have access for 7 days.

Can I protect preview versions without protecting my live site?

Yes. You can choose to protect just your live site, just preview versions, or both. This is useful when you want to share drafts with a client while keeping the public site open — or the other way around.

What happens if someone tries to guess the password?

After 5 incorrect attempts, that visitor is locked out for 5 minutes. This prevents anyone from trying thousands of passwords to break in. Your password is also encrypted — it's never stored or transmitted in plain text.

Is this secure enough for sensitive documents?

ZeroDeploy uses PBKDF2-SHA256 encryption (the same standard used by password managers), rate limiting, and timing-safe comparisons to prevent attacks. For most use cases — client work, internal docs, course content, draft reviews — this is more than sufficient. For regulated industries with compliance requirements (HIPAA, SOC 2), consult your compliance team.

Can I change the password later?

Yes. Update the password anytime in your dashboard. When you change the password, existing sessions are invalidated and all visitors will need to enter the new one.

Can I password protect my website for free?

Password protection is included on all plans. The Starter plan ($9/mo) includes password protection, 1 custom domain, 100 form submissions per month, and 30-day analytics. For higher limits, upgrade to Pro ($29/mo) for 10 sites, 10GB storage, and 30-day analytics. See the full plan comparison.

Can I have different passwords for different pages?

Password protection applies to the entire site — all pages share one password. If you need different passwords for different content, create separate sites (Pro includes up to 10 sites) and protect each with its own password.

Make any page private in seconds

Upload your site. Toggle on password protection. Share the link and the password. Only the people you choose can see it.