Dub is the only link management tool that offers password protection on all plans (including the free plan).
This feature is useful when you want to share a link with a group of people and you want to make sure that only the intended recipients can access the link.
In this guide, we will learn how to create password-protected links on Dub.
Step 1: Create a link
First, create a link by clicking on the Create Link button on the top right corner of the Dub dashboard.
Then, enter the destination URL and optionally, a custom short link for it.

Step 2: Enter a password
Scroll down to the Password Protection section in the link builder and toggle the switch. Then, enter a password for the link.

Then, when you share your link, the user will be prompted to enter a password before they can access the destination URL.

Step 3 (optional): Pass the password in the URL
Optionally, you can also pass a pw
query parameter to the link to automatically authenticate and redirect the user to the destination URL.
Here's an example:
- Password-protected link: dub.sh/password
- Password-protected link with the password included in the URL as a query parameter: dub.sh/password?pw=dub
Step 4 (optional): Set a custom logo for the password page
On the Pro plan and above, you can also set a custom logo for the password page. This is useful if you want to brand the password page with your company's logo.
Your password page logo is connected to your project's logo on Dub. You can set that by following the steps below:
- Go to your project settings page by clicking on the Settings link in the menu bar at the top of your project dashboard.
- Scroll down to the Project Logo section and upload your company's logo. We recommend using a square image for the best results.

Once you've set your project's logo, your password page will automatically update to use your project's logo.
