A password protected short link is a short URL that asks for a secret before it sends anyone onward. You open it, you get an unlock page instead of the destination, and only a correct entry moves you along. That is the idea. The name oversells it, though, so here's the honest version up front.
On Elido today, two ways of gating a link work end to end. The per-link password field makes the edge withhold the destination and send visitors to an unlock page; a wrong password gets an error, and repeated failures from one IP on one link are blocked for a while. Encrypted links work differently. The edge serves ciphertext, and the visitor's browser decrypts it. I checked both in the code. The rest of this post is built on what I found.
What a Password Protected Short Link Is ForWhat a Password Protected Short Link Is For
The useful cases share a shape. You're sharing a link through a channel you don't control, and you want something besides the URL to be required for entry.
A sensitive document is the obvious one. A contract draft, a financial model, an internal deck going to someone outside your company. Email forwards and PDFs get re-sent. A link anyone can open is only as private as the least careful person who ever held it.
Client deliverables follow the same pattern with a deadline attached. An agency hands over a video edit or a campaign report, and the client should reach it while the client's whole address book shouldn't.
Private previews round out the list: a pre-launch page for a small group, an early-access offer for a waitlist. What doesn't fit is anything regulated or anything where a leak is a reportable incident. For that you want per-person authentication on the destination, which is a different control.
How a Password Gate Works at the RedirectHow a Password Gate Works at the Redirect
A normal short link is a redirect. The edge looks up the slug and writes a 302 to the visitor's browser. A gated link inserts one step first: the edge returns a challenge instead of the destination, and the destination only leaves the server once the check passes.
Where the check runs decides whether the gate is worth anything. A gate built as JavaScript that fetches the real URL and then redirects is a gate anyone with browser dev tools walks through. A server-side check keeps the destination off the wire until the password is right. The second design is an encrypted link, where the server never has the destination to leak, and the browser derives the key locally. That's the same reasoning behind smart links routing at the edge instead of in a script on a landing page.
What Elido Ships TodayWhat Elido Ships Today
I read services/edge-redirect and services/api-core for this section. Two mechanisms exist, and they behave differently.
Encrypted links with an optional passphrase (works). You tick "Encrypt destination (E2E)" when creating a link in the dashboard. The browser encrypts the destination with AES-256-GCM before it reaches us, so the server stores only ciphertext. The edge answers with an unlock page. Without a passphrase, the key sits in the URL fragment after #, which browsers don't send to servers. With a passphrase, the visitor types it and the browser derives the key (PBKDF2-SHA256, at least 100,000 iterations enforced by the API) and decrypts. A wrong passphrase gives "Decryption failed" and the page stays put. The decrypted URL must be http or https or the page refuses to follow it.
The costs are real. Encrypted links can't use targeting rules or A/B variants, because we can't apply them without seeing the destination. The click is still recorded, but with a placeholder instead of the target. The per-link click cap isn't applied to encrypted links either: in the edge code the encrypted branch returns before the cap check. Expiry is checked earlier, so an expired encrypted link returns the expired page.
The per-link password field (enforced at the edge). You can set password on a link with PATCH /v1/workspaces/{id}/links/{link_id}; an empty string clears it. Elido hashes it with Argon2id (64 MiB, 2 passes, 4 lanes) and verifies in constant time. The API never returns the hash, only a password_set boolean. When a link has a password, the lookup the edge makes returns a flag and no destination, no A/B variants and no targeting rules, so there is nothing for the edge to leak or cache. The edge answers with a 302 to the unlock page. It is marked no-store. The page checks the password against the API and redirects only on a match, which means the destination never travels to a visitor who guessed wrong. Five wrong attempts from one IP on one link earn a 429 for 15 minutes. A correct password resets the counter.
One gap remains: clicks through the unlock page aren't counted in analytics yet.
The Security Limits, Said PlainlyThe Security Limits, Said Plainly
A password gate protects the short link. It doesn't protect the destination. If the destination is a public URL that anyone can type directly, the password only stops people who have the short link, which is the common sharing case but not every case.
So the destination should be access-controlled too. The OWASP Authentication Cheat Sheet and the Access Control guidance draw the line: authentication proves who someone is, access control decides what they can reach, and a shared link password is a weak form of the first.
Three more limits apply. A shared password is one identity, so you get no per-person trail and no way to revoke one person without rotating it for everyone. A passphrase on an encrypted link can be guessed offline, since the ciphertext goes to anyone who opens the link. Only a long random passphrase holds up. And serve the link over HTTPS, always. Elido serves redirects over HTTPS by default, including on custom domains.
How Vendors CompareHow Vendors Compare
Pricing pages are the only public source, and they're thin on this feature. What each one says, as read on 2026-10-24:
| Vendor | What the pricing page says about link passwords |
|---|---|
| Dub | Link password protection listed on Business ($90/month), Advanced and Enterprise |
| Short.io | Password protection listed from the Pro plan ($18/month on the page) |
| Rebrandly | Password-protected links: 50 on Professional, 150 on Growth, none on Free |
| Bitly | Not mentioned on the pricing page |
| Elido | Per-link password enforced at the edge with an unlock page; encrypted links with passphrase also work |
Sources: Dub pricing, Short.io pricing, Rebrandly pricing and Bitly pricing, all accessed 2026-10-24. The Short.io page doesn't say whether its monthly figures assume annual billing. A feature missing from a pricing page may still exist, so check the vendor's docs before you rule one out. I haven't tested any competitor's gate, only read what they list.
What to Combine It WithWhat to Combine It With
Set an expiry. Elido's edge returns a 410 expired page once expires_at passes, and you can pass expires_at when you create a link. The trade-offs of lifetimes are in the link expiration post. A password isn't a substitute: a link that lives forever leaks its secret slowly as it gets pasted around.
For teams, a shared secret is usually the wrong answer. When the people who should reach the content sit in your identity provider, gate the destination behind SCIM and SSO so access follows the directory.
A Practical How-ToA Practical How-To
Create the link with "Encrypt destination (E2E)" ticked and add a passphrase. Make it long and random, and don't reuse one. Copy the short URL from the confirmation. If you skipped the passphrase, copy the full URL including the #k= part, because the link can't open without it.
Share the link and the passphrase through separate channels. This is the highest-value habit. Set an expiry on the same day, and confirm the destination has its own access control if the content is sensitive. For the wider threat model, are URL shorteners safe has the detail, and the custom domains feature covers serving gated links on your own domain.
It's not a vault. As one layer next to expiry and a locked destination it does its job.
As the only thing between an attacker and something that matters, it won't.
Related on the BlogRelated on the Blog
Frequently asked questions
What is a password protected short link?
It is a short link that asks for a secret before it forwards anyone to the destination. The visitor opens the short URL, lands on an unlock page, types the password, and only a correct entry leads onward. The password is a gate in front of the link. It is not encryption of the page the link points to, unless the link itself is encrypted.
Does Elido support password protected short links?
Yes, in two ways. The per-link password field is stored as an Argon2id hash. When it is set, the edge never receives the destination: it sends the visitor to an unlock page, and only a correct password releases the redirect, with failed attempts rate-limited per link and IP. Separately, encrypted links with an optional passphrase are decrypted in the browser, so the server never sees the destination at all.
Is a password protected short link secure?
It is access friction, not a security boundary around the destination. The gate stops casual access and accidental forwards. Anyone who holds both the link and the password gets in, and a public destination URL can still be opened directly. For sensitive content the destination needs its own access control as well.
Can someone brute-force the passphrase on an encrypted link?
Yes, offline. With an encrypted link the ciphertext is served to anyone who opens the short URL, so an attacker can try passphrases locally at their own speed. The key derivation (PBKDF2-SHA256, at least 100,000 iterations on Elido) slows each guess, but a short or common passphrase still falls. Use a long random one.
Should I use a password or link expiration?
Usually both. A password controls who gets in, and expiration controls how long the link stays usable. A client deliverable that should be reachable for two weeks and then go dark is a secret plus an expiry date. They solve different problems and compose well, so set the expiry when you create the link.
How do I share the password without leaking it?
Send the link and the password through separate channels. Put the link in email and the password in a chat message or on a call. If both travel in the same message, one intercepted message hands over everything. Splitting them means an attacker has to compromise two channels instead of one.
Try Elido
Paste a URL, get a working short link
No signup. Link lives for 30 days. Sign up to keep it forever.
Free account required. The free plan includes 25 links in total. Already have an account? Log in

