Privacy Tools

Create Password-Protected Short Links That Expire

7 min
By
Create Password-Protected Short Links That Expire

Photo by Pexels

Last month, a startup founder sent a pitch deck to 12 investors using a plain short link. One investor forwarded it. The link ended up in a Slack channel with 200 strangers. The deck leaked before the funding round closed.

A short link is a key. Without a lock, anyone who finds the key gets in.

Why Plain Short Links Are Risky

Short links look private because they are unguessable. A 6-character slug has roughly 2 billion combinations. Nobody is typing random strings into a browser.

But links don't stay private. They get forwarded. They get cached by browsers. They appear in server logs. They get indexed if someone posts them publicly. A link meant for one person can reach thousands in hours.

If the destination is sensitive, a plain short link is not enough. You need two things. A password, so only the right people can open it. An expiry, so the link dies on your schedule.

How Password Protection Works

When you create an encrypted short link, the destination URL is stored encrypted. The password you choose becomes the decryption key. When a visitor opens the link, they see a password prompt, not the destination.

Enter the right password. The server decrypts the destination. The visitor is redirected. Enter the wrong password. Nothing happens.

The password never leaves the visitor's browser unencrypted. The server cannot see it. If the database is compromised, the attacker gets encrypted blobs, not URLs.

This is different from "password-protected" services that store the password in plaintext and compare it server-side. Those are security theater. A real secure url shortener uses client-side encryption.

Setting an Expiry Date

A password controls who. An expiry controls when.

You can set a link to expire after a specific date. September 30, 2026 at midnight UTC. After that, the link returns a 410 Gone response. The destination is deleted. The slug is freed.

You can also set a link to expire after a number of clicks. A short link with password that also expires after 50 views is perfect for a limited beta invite. 50 people see it. Then it is gone.

Some teams use view limits for press embargoes. Journalists get a link that works for 24 hours. After the embargo lifts, the link expires. Nobody can share it after the window closes.

Real Scenarios

**Legal documents.** A law firm sends settlement agreements via password-protected short links. The recipient gets the link by email and the password by phone. Two channels, two factors. The link expires in 7 days.

**Beta access.** A SaaS company invites 200 beta testers. Each gets a unique link with a password. The link expires after 30 days or when the beta ends. No leaked links after launch.

**Client deliverables.** A freelance designer shares final mockups with a client. The link is password-protected and expires after the project closes. Old links do not linger in inboxes.

**Internal wikis.** A company shares internal documentation with contractors. The links require a password and expire when the contract ends. Access is revoked automatically.

How to Create One

In NovelCrypt's URL shortener, the process takes about 20 seconds.

Paste your destination URL. Check "Password protect." Enter a password. Check "Set expiry." Pick a date or a click count. Click shorten. You get a link like novelcrypt.com/r/x7Kp2w.

Send the link through one channel. Send the password through another. Email the link. Text the password. That is the two-channel rule. If one channel is compromised, the attacker has half of what they need.

What Happens After Expiry

When a link expires, three things happen. The destination URL is deleted from the database. The slug remains but returns a 410 status. Any cached redirects expire within minutes.

The slug is not reused. If you created novelcrypt.com/r/launch2026 and it expired, nobody can recreate that exact slug. This prevents link hijacking, where an attacker recreates an expired link to point somewhere else.

Common Mistakes

Sending the password with the link defeats the purpose. If the email is forwarded, both pieces travel together. Always split them.

Using a weak password. "1234" is not a password. Use at least 12 characters. Generate one with a password generator if you need to.

Forgetting to set an expiry. A password-protected link that never expires is still a risk. Passwords leak. Set a deadline.

The Bottom Line

A short link with password protection and an expiry is the minimum security standard for anything sensitive. It takes seconds to set up. It prevents the most common leak vector. Use it for documents, beta access, client work, and anything you do not want shared beyond your intended audience.

Create one now at the secure shortener. Paste a URL, set a password, pick an expiry. Done.,

Frequently Asked Questions

How does a password protected short url work?

The destination URL is encrypted with your password. Visitors see a prompt, enter the password in their browser, and the server decrypts and redirects only if the password matches.

Can I make a short link expire after a certain date?

Yes. Set an expiry date when creating the link. After that date, the link returns a 410 Gone response and the destination is permanently deleted from the server.

Should I send the password with the link?

No. Send the link and password through separate channels, like email and text. If one channel is compromised, the attacker still cannot access the link.

Try NovelCrypt Tools

Experience military-grade encryption for your sensitive data. Create self-destructing messages, encrypt files, or explore our experimental lab tools.

Explore NovelCrypt