Sometimes you need to share a page with the world — but not everyone. Maybe it’s an internal tool, a client preview, or a pre-launch announcement. HTMLPUT‘s built-in password protection lets you control exactly who can see your content, with zero extra configuration. This guide covers how it works and when to use it.


What Is Password Protection?

Password protection on a hosted page means visitors must enter a correct password before they can view the content. Without the password, they see only a locked screen — not the page itself. This is different from simply not sharing the link:

  • The link is real and shareable — but guarded by a gate
  • The page is permanently live — you can share it anytime without re-hosting
  • Access is auditable — you control who has the password

How to Enable Password Protection

Step 1: Write Your HTML as Usual

Build or generate your page normally — it can be anything: a dashboard mockup, a design presentation, an event page, a report. The password protection decision is made at the hosting step, not during creation.

Step 2: Set Access Type to Password Protected

Go to htmlput.com, paste your HTML, and look for the Access Type dropdown before clicking Host Now:

Code Hosting

History

Host Your Page

Paste your HTML code, and we’ll generate an accessible link for you

1
2
3
4
<!DOCTYPE html>
<html></html>

🔒

Share this password with your audience through a separate channel

Step 3: Host and Save Your Password

Click Host Now. Once deployed, you’ll get your protected link and QR code. Important: save your password somewhere — it’s only shown once and cannot be recovered from HTMLPUT.

Step 4: Share the Link and Password Separately

For maximum security, share the link and password through different channels:

  • Link via email/chat — the QR code or short link
  • Password via SMS/phone call — or encrypted message

What Visitors See

When someone opens a password-protected link, they land on a clean locked screen:

🔒

This page is protected

Enter the password to view the content

Powered by HTMLPUT

Once the correct password is entered, the lock screen disappears and the actual page content is revealed — seamlessly, as if it were never protected.


When to Use Password Protection

💼

Client Previews & Approvals

Share design mockups or development progress with clients before public launch. Clients enter a password to view — keeping work confidential until approved.

📊

Internal Dashboards & Reports

Share internal analytics, KPI dashboards, or financial reports with your team. Only employees with the password can access sensitive data.

🎁

Pre-Launch Announcements

Build hype with a preview page accessible only to people with the password. Distribute the password to your waitlist or early subscribers.

🎓

Course & Exam Content

Share course materials, study guides, or timed exam pages with students. Only registered students receive the access password.

💰

Paid Content Previews

Offer a preview of premium content (articles, videos, reports) to potential paying customers. Password shared after purchase.

🤝

Event Invitations

Create exclusive event pages for invited guests. The invitation link is public, but the password is shared only with confirmed RSVPs.


Password Protection Tips

  • Use a strong password. Since you’re sharing this password with people (not typing it into a secure vault), make it something non-obvious but memorable. Example: “BlueTiger2024!” is better than “password123”.
  • Change passwords for new projects. Use a different password for each protected page — if one password leaks, only that page’s content is exposed.
  • Share via separate channels. Send the link via email and the password via SMS, or the link in a chat message and the password in a calendar invite. This reduces the chance of both reaching the wrong person.
  • Combine with QR codes. Print the QR code on physical invitation materials. Share the password separately (e.g., in the email invitation that accompanies the physical mailer).

FAQ

Q: Can I change the password after hosting?
A: Currently, the password is set at hosting time and cannot be changed without re-hosting the page with a new password.

Q: Is the password stored securely?
A: Yes. The password is hashed and cannot be retrieved from HTMLPUT’s side once set. Only the page owner knows the original password.

Q: Can I have multiple passwords for the same page?
A: Currently HTMLPUT supports a single password per page. For multiple access levels, consider creating separate pages with separate passwords.

Q: Does the QR code still work on a password-protected page?
A: Yes — the QR code encodes the share link. Visitors scan it, land on the locked screen, and enter the password to access the content.

Q: What if a visitor enters the wrong password?
A: They see an error message (“Incorrect password”) and can try again. There is no lockout after multiple attempts.

Q: Is this suitable for highly sensitive content?
A: Password protection is appropriate for low-to-medium sensitivity content like client previews and internal documents. For highly sensitive data, a dedicated authentication system would offer stronger security.


Start Protecting Your Pages

Password protection is one of HTMLPUT‘s most powerful features — and it’s free, built-in, and takes zero technical setup. Next time you need to share something privately, just toggle Password Protected before you click Host Now.

👉 Try password-protected hosting for free →

Related: Learn how to manage your hosting history, or see why HTMLPUT pages load fast globally.