How to create password-protected links on Dub?

Learn how to protect your short links with a password on Dub to prevent unauthorized access.

Steven Tey

Written by Steven Tey

This feature is only available for Pro plans and above.

Dub's password protection 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.

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.

To use this feature, click on the Password button in the link builder. This will open a new modal Link Password.

Then, enter a password for the link or generate a random one and click on the Add password button.

You can also quickly access the Link Password feature by using the keyboard shortcut P while in the link builder.

Then, when you share your link, the user will be prompted to enter a password before they can access the destination 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:

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 workspace's logo on Dub. You can set that by following the steps below:

  1. Go to your workspace settings page by clicking on the Settings link in the menu bar at the top of your workspace dashboard.
  2. Scroll down to the Workspace Logo section and upload your company's logo. We recommend using a square image for the best results.

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

Did this answer your question?