Back to blog
Guides

How to password-protect an HTML file and share the link (2026)

Use Handoff Pro to set a password on the hosted file. Share the URL and password; viewers do not need a Handoff account.

Last updated:

H
Handoff
5 min read

Use Handoff Pro to password-protect a hosted HTML file, then share its URL with your intended readers. Pro costs $5/month and supports HTML pages up to 10 MB; viewers enter the password without creating an account. Upload later revisions to the same slug to keep the shared URL.

Protect and share the page

  1. Sign in to Handoff and choose Pro. Password protection is not included in Free.
  2. For an existing upload, open the file's dashboard page, find Password, enter a password and select Turn on. Do this before distributing the link.
  3. If the file must be protected from its first upload, use the API's password field when uploading, as documented in the Handoff skill. Ask the agent to include password protection in the initial upload.
  4. Open the share link in a private browser window. Confirm that it asks for the password and that the correct password opens the page.
  5. Send the URL to recipients and give them the password through an appropriate separate channel. When updating, reuse the same slug and check access again.

Protect the hosted file, not just the visible HTML

A JavaScript password form inside an HTML file is not equivalent to host-enforced protection: hiding page elements does not stop someone from inspecting downloaded content. Handoff's file password is checked by the hosting service before access is granted.

For a file that is already public, adding a password restricts future access but cannot recall copies someone already downloaded. Likewise, recipients who can view your page can copy its content. Use a system with individual permissions if your requirements include named-user revocation rather than a shared password.

You can change the password from the file's dashboard page. Removing protection makes the file readable to anyone with the link again, so treat that as an access change, not just a cosmetic setting.

Which tool fits this workflow?

Checked November 20, 2026. Links go to vendor documentation; plan details can change. Handoff publishes this comparison.

Tool Verified behavior Better fit when…
Handoff Same slug keeps the URL; earlier versions have links. Free or $5/month Pro. You share individual HTML, Markdown or image files.
GitHub Pages Repository hosting; public repositories supported on Free. Your team already reviews changes in Git.
Netlify Drop Drag-and-drop folder deployment; update the existing project. Your output includes multiple site files.
Tiiny Host Updating a project preserves its link. You want its upload-oriented site workflow.
display.dev Same-link updates; earlier versions on Solo and above. You need document collaboration and comments.
Claude Publish Native Claude Code artifacts update in place. You want publishing inside Claude.

“Claude Publish” here means Claude Code's native artifact publishing. On Team/Enterprise, public sharing requires owner enablement. See URL readability and external sharing. Tiiny Host also retains five versions on Tiny and above; version history is not unique to Handoff.

What does Handoff cost?

Handoff Free costs $0 and includes 5 files, pages up to 2 MB and images up to 5 MB, with a small Handoff bar. Pro costs $5/month and includes unlimited files subject to fair use, pages up to 10 MB, images up to 20 MB, password protection and no Handoff bar. Both plans include versioned URLs and the AI skill. Viewers do not need an account.

These details were checked against the Handoff homepage and llms.txt on November 20, 2026. See the pricing page for the plan comparison.

Frequently asked questions

Is password protection free?

No. Handoff password protection is included in Pro at $5/month.

Do recipients need to sign up?

No. Recipients enter the file password to view the page without a Handoff account.

Can a password stop readers from copying the page?

No. A password restricts access; it does not prevent an authorized reader from saving or sharing the content.

Related guides

Ready to share your work?

Upload a file, get a link. Free plan, no credit card needed.

Start sharing free