Vercel (and by extension v0) makes it easy to share deployments with your friends, colleagues and other collaborators. To secure these deployments, Vercel also offers a number of granular controls to control who can or cannot view specific deployments.

v0

v0 generations are, by default not shared with the outside world. Once a v0 chat has been deployed to Vercel, the site is accessible to the public internet. However because v0 deployments are tied to Vercel projects under the hood, all the Vercel Authentication features listed below are applicable to any v0 generation.

To easily access the relevant Vercel project for any v0 deployment, click the View on Vercel Button on the deployment.

image.png

Navigating to the Deployment Protection Tab

You can access deployment protection controls by:

  1. Logging in to your Vercel dashboard
  2. Selecting the v0 or Vercel project where you want to configure Deployment Protection
  3. Clicking the Settings tab
  4. Selecting Deployment Protection under Settings

Vercel Authentication

Vercel Authentication is a system that lets you restrict viewing and commenting on deployment only to a specific set of users.

image.png

These users include:

By default, Vercel Authentication is automatically enabled for all v0 and Vercel deployments with the exception of the most recent production deployment. There are three levels of protection with Vercel Authentication:

  1. Standard Protection: This is the recommended way to secure all your domains, including both preview and production deployment URLs, to limit public access.
  2. Only Preview Deployments: This option focuses on protecting your development and testing environments.
  3. All Deployments: This is the most comprehensive protection level and secures every deployment.

image.png

Additional Deployment Security

Password Protection

image.png

You can configure a password for deployments too add an additional layer of security. You can configure password protection to trigger with the same three levels of security as Vercel Authentication.

image.png

Add a password to a v0 deployment

Like every other feature listed in this guide, v0 deployments can leverage Vercel’s password protection. To more easily add password protection to v0, you can use the project settings menu to secure your deployment.

image.png

Trusted IPs

You can restrict access to your deployment to only a specific set of whitelisted IPs. A total of 20 IPs can be configured for each deployment.

Vercel Authentication Exceptions

Vercel Authentication’s rules apply universally to any visitor. However, you may want to configure exceptions for particular users or use cases. To do so, Vercel offers a number of secure methods to bypass Vercel Authentication:

Appendix