Description
Ensure projects whose production site must not be public, such as internal tools, admin dashboards, and sites not yet launched, use Vercel Authentication with the All Deployments option, so that the production domain and all generated URLs require a Vercel login.
Rationale
Standard Protection keeps preview URLs private, but the production domain stays open to everyone. For internal or unreleased applications, this means anyone on the internet can reach the production site. Selecting All Deployments protects every URL of the project, including production, and is now available at no extra cost on every plan.
Impact
The production domain requires a Vercel login
Only users with project access can open the site
Not suitable for public websites
Default Value
By default, new projects use Standard Protection, which leaves the production domain public. All Deployments is available on every plan at no additional cost.
Pre-Requisites
Team Owner or Member role, or Project Administrator
Confirmation that the production site should not be public
Test Plan
Sign in to Vercel at https://vercel.com.
Select your team from the team switcher.
Select the project from the dashboard.
Open Deployment Protection (Security > Deployment Protection in the project sidebar, or Settings > Deployment Protection on older dashboards).
Verify that Vercel Authentication is enabled with All Deployments selected.
Open the production domain in a private browser window and confirm the Vercel login page appears.
If the production domain is public and should not be, follow the implementation steps.
Implementation Steps
Sign in to Vercel at https://vercel.com.
Select your team from the team switcher.
Select the project from the dashboard.
Open Deployment Protection (Security > Deployment Protection in the project sidebar, or Settings > Deployment Protection on older dashboards).
Enable Vercel Authentication and select All Deployments from the dropdown.
Select Save.
Backout Plan
Sign in to Vercel at https://vercel.com.
Select your team from the team switcher.
Select the project from the dashboard.
Open Deployment Protection (Security > Deployment Protection in the project sidebar, or Settings > Deployment Protection on older dashboards).
Select Standard Protection from the dropdown.
Select Save.
Reference