o.cheap › Password protected links
Password protected links for $1 a year
Share a short URL that only opens for people who know the password.
Short answer: to password protect a link, create an o.cheap short URL, check out ($1 a year) and set a password of 4 to 128 characters in your dashboard. Visitors must enter it before they’re redirected; the password is stored as a hash, guesses are limited, and a correct entry unlocks the link for 12 hours.
How a password protected link works
You share a short URL such as o.cheap/q4-proposal. When someone opens it in a browser, they see a small page that says Password required instead of your destination. If they type the correct password, they’re redirected to the page you chose. If not, they stay on the password screen. The destination URL is never shown on that screen, and link-preview bots on chat apps get only your preview card, never the protected address.
That makes password protection a good fit for links to sensitive information you still want to share by email, chat or a printed code: client proposals, contracts, draft designs, staging sites, private videos, course materials or internal dashboards. It’s a simple way to control who can view the content without asking users to create an account or log in anywhere.
Below: how to create one, what keeps it secure, what it can’t do, and how to combine it with expiry and click limits.
Password protection vs other ways to keep a link private
| Method | Who can open it | Trade-off |
|---|---|---|
| Unlisted or “anyone with the link” | Anyone the link reaches | Forwarded links stay open; no way to revoke access without changing the URL |
| Password protected link | People who know the password | Visitors type a password once; you can change it to revoke access |
| Account permissions (shared drive, app login) | Named users with an account | Most secure for the data itself, but every recipient needs an account |
| End-to-end encrypted link | Whoever has the key to decrypt it | Strong privacy, but usually no click analytics, and changing it means sending a new link |
We recommend using a password link together with the destination’s own permissions when the content is truly private: the password keeps casual visitors out, and the application behind it keeps the data safe.
Password protect a link in four steps
- Create the short URL. Paste the long link on the o.cheap home page and pick a name: o.cheap/yourname, or a path on your own subdomain like yourname.o.cheap/deck. It works right away for 15 minutes so you can test it.
- Check out to keep it. A path costs $1 a year. A subdomain costs $20 a year and holds up to 10,000 links, each with its own password if you want.
- Set your own password. Sign in to your dashboard, open the link, expand Password and enter 4 to 128 characters. Save. You can do the same from code with the URL shortener API by sending
{"adv":{"password":"…"}}. - Share the link and the password separately. Send the link by email and the password by text message or phone, so one leaked message isn’t enough.
What protects your link
- Hashed, not stored in plain text. o.cheap stores a salted PBKDF2-SHA256 hash of the password. Nobody, including us, can read it back. Your dashboard and the API only show that a password is set.
- Limits on guessing. 10 tries per IP address per link every 15 minutes, and at most 50 wrong passwords per link from all visitors together. Visitors who already unlocked the link aren’t affected. A wrong entry shows a clear error message, not the destination.
- 12-hour unlock. After the correct password, a secure, HTTP-only cookie keeps that browser unlocked for 12 hours, so people can come back to a document during the day without being prompted again.
- Instant revoke. Change the password and every browser that unlocked the old one has to enter the new one. Remove it to make the link public again.
- HTTPS everywhere and screened destinations. Every o.cheap link is served over HTTPS, and every destination is checked for phishing and malware before it goes live and again later.
What a password link doesn’t do
Be clear about the limits before you send anything private. The password guards the short link, not the destination. Anyone who already has the full destination URL can open it directly, and o.cheap doesn’t encrypt the content behind it. For maximum security, keep the destination private as well (for example a shared drive file limited to specific accounts) and treat the password as an extra layer of access control. If you need end-to-end encrypted links where even the server can’t read the address, use a tool built for encryption.
One time links, expiry dates and QR codes
Every o.cheap link has the same options, and they work together with password protection:
- Click limit: allow 1 click for a one time link, or any number you choose. Bots and link checkers don’t use it up. After the limit, visitors see a closed message or go to your fallback URL.
- Start and end dates: open a link at a set time and close it later, so access ends when the offer, event or review period does.
- Printable code: download a QR code for the short URL for handouts or slides. People scan it, then enter the password on their phone.
- Edit any time: change the destination without changing the link or the QR code you already shared.
- Click analytics: see how many times the link was opened and when, plus countries, devices and referrers, with CSV export. Every click is recorded only after the correct password, so the numbers mean real visits.
- Your branding: on a yourname.o.cheap subdomain, every protected link carries your name.
Use cases
| Use case | Example link | Good extra setting |
|---|---|---|
| Client proposal or contracts | o.cheap/acme-proposal | End date after the decision deadline |
| Design or staging preview | studio.o.cheap/preview | Change the password after each review round |
| Private video or course | coach.o.cheap/week-1 | Printed code on the workbook |
| One time download | o.cheap/report-copy | Click limit of 1 with a fallback URL |
Price
Password protection is part of the product at no extra cost. A custom short link at o.cheap/yourname is $1 a year. A yourname.o.cheap subdomain with up to 10,000 links is $20 a year. Subscriptions renew yearly until you cancel. See pricing for everything that’s included, or compare o.cheap with other shorteners on the Bitly alternative page.
Questions
What is a password protected link?
A short URL that asks for a password before it sends the visitor on. Anyone can see the link, but only people you give the password to reach the page behind it.
How do I password protect a link?
Claim a short link on o.cheap, check out ($1 a year), open the link from your dashboard, type a password of 4 to 128 characters in the Password section and save. You can also send adv.password through the API.
How secure is password protection on o.cheap?
The password is stored as a salted PBKDF2-SHA256 hash, never in plain text, and never appears in the URL. Each IP address gets 10 tries per link every 15 minutes, and a link accepts at most 50 wrong passwords from all visitors together in 15 minutes. It guards the link, not the file: o.cheap doesn’t encrypt the destination page, so keep the destination private too.
How long does a visitor stay unlocked?
12 hours, in the same browser. After that, or on another device or browser, the visitor is prompted again.
Can I change or remove the password later?
Yes, any time from your dashboard. The short URL stays the same. A new password signs out everyone who unlocked the old one.
Can I make a one time link or a link that expires?
Yes. Combine the password with a click limit (for example 1 click) and an end date. After the limit or the end date, visitors see a closed message or go to a fallback URL you choose.
Do password protected links still count clicks?
Yes. A click is counted when a visitor gets through to the destination, with the date, country, device and referrer. Looking at the password screen doesn’t count as a click.
Is there a free password protected link?
No. o.cheap has no free plan. A new link works for 15 minutes so you can test it; after checkout it costs $1 a year, password included.
Keep reading
Updated November 26, 2026.