HTMLOL

Docs / Passwords & expiry

Passwords & expiry

Lock a shared link behind a password, set it to expire, or both — and how each option behaves for visitors.

A shared link doesn't have to be wide open. When you publish, you can require a password, set the link to expire, or both. This page covers how each behaves. For the basics of publishing, start with Share a link.

Password protection

Choose Password protected in the share dialog and set a password. Visitors see a simple unlock screen and must enter it before the page loads. Share the password through a separate channel from the link itself — text the link, but give the password by phone or a different app. That way a forwarded link alone isn't enough to open the page.

Expiry

Choose Expires after a date and pick when the link should stop working. After that moment, anyone who opens it sees a friendly "this link has expired" page instead of your content — useful for time-boxed previews, limited offers, or anything you don't want living forever.

Both at once

You can combine them: a link that requires a password and expires on a date. The visitor must unlock it, and only until it expires.

Changing protection later

On Premium, you can update an existing link — republish the same URL with new content or different protection. The link stays the same; the rules change.

Good to know

Password protection deters casual access and stops a forwarded link from opening on its own. For truly sensitive material, treat a shared web page as semi-public and don't publish anything you couldn't bear to have seen.

Open the editor