You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: `Setting up projects with a list of deployments on ${PRODUCT_NAME}.`,
15
16
editUrl: 'pages/docs/v2/platform/projects.mdx',
16
-
lastEdited: '2020-04-30T14:45:52.000Z'
17
+
lastEdited: '2020-05-01T17:38:04.000Z'
17
18
}
18
19
19
20
To deploy on <ProductName />, you need to create a **Project**. A Project is a logical structure that groups [deployments](/docs/v2/platform/deployments) and [custom domains](/docs/v2/custom-domains). Each project can be associated to a [GitHub](/docs/v2/git-integrations/vercel-for-github), [GitLab](/docs/v2/git-integrations/vercel-for-gitlab), or [Bitbucket](/docs/v2/git-integrations/vercel-for-bitbucket) repository.
@@ -55,6 +56,8 @@ Then, select the **Settings** tab:
55
56
/>
56
57
<Caption>Selecting the <b>Settings</b> tab from the Project Overview page.</Caption>
57
58
59
+
## General Settings
60
+
58
61
### Build & Development Settings and Root Directory
59
62
60
63
You can edit build and development settings as well as the root directory settings. Check out [our Build Step documentation](/docs/v2/build-step) to learn more.
@@ -63,18 +66,6 @@ You can edit build and development settings as well as the root directory settin
63
66
64
67
You can configure Environment Variables directly from Project Settings. Check out [the Environment Variables section of our Build Step documentation](/docs/v2/build-step#environment-variables) to learn more.
65
68
66
-
### Logs and Source Protection
67
-
68
-
By default, the paths mentioned below can only be accessed by you and members of your Vercel team. Turning off **Logs and Source Protection** will make them publicly accessible.
69
-
70
-
-`/_src`: Displays the source code and build output.
71
-
-`/_logs`: Displays the build logs.
72
-
73
-
<Notetype="warning">
74
-
Do not edit this setting if you don’t want your source code or logs to be
75
-
publicly accessible.
76
-
</Note>
77
-
78
69
#### Ony applied starting from your next deployment
79
70
80
71
As with other project settings, the changes you make to this setting will only be applied starting from your **next deployment**.
@@ -85,18 +76,18 @@ As with other project settings, the changes you make to this setting will only b
85
76
existing deployments, the only option is to delete them.
86
77
</Note>
87
78
88
-
###Custom Domains
79
+
## Custom Domains
89
80
90
81
You can add **custom domains** for each project. Check out [our Custom Domains documentation](/docs/v2/custom-domains) to learn more.
91
82
92
-
###Git Integration
83
+
## Git Integration
93
84
94
85
To edit your project’s Git Integration settings, select the **Git Integration** menu item from your project settings page.
<Caption>Selecting the <b>Git Integration</b> menu item from the project settings page.</Caption>
@@ -135,6 +126,206 @@ If you’d like to disconnect your **personal account** or **team** from GitHub,
135
126
136
127
<ProductName /> supports **deploy hooks**, which are unique URLs that accept HTTP POST requests and trigger deployments. Check out [our Deploy Hooks documentation](/docs/v2/more/deploy-hooks) to learn more.
137
128
129
+
## Security Settings
130
+
131
+
To edit your project’s security settings, select the **Security** menu item from your project settings page.
<Caption>Selecting the <b>Security</b> menu item from the Project Settings page.</Caption>
141
+
142
+
### Logs and Source Protection
143
+
144
+
<Note>
145
+
The changes you make to this setting will only be applied starting from your{''}
146
+
<b>next deployment</b>.
147
+
</Note>
148
+
149
+
By default, the paths mentioned below can only be accessed by you and members of your Vercel team. Turning off **Logs and Source Protection** will make them publicly accessible.
150
+
151
+
-`/_src`: Displays the source code and build output.
152
+
-`/_logs`: Displays the build logs.
153
+
154
+
<Notetype="warning">
155
+
Do not edit this setting if you don’t want your source code or logs to be
156
+
publicly accessible.
157
+
</Note>
158
+
159
+
### Password Protection
160
+
161
+
<Note>
162
+
This feature is <em>not</em> available for personal accounts. Only{''}
163
+
<b>teams</b> can opt into this feature, and the team must be on the{''}
164
+
<b>
165
+
<Linkhref="/pricing">Pro</Link>
166
+
</b>{''}
167
+
or{''}
168
+
<b>
169
+
<Linkhref="/pricing">Enterprise</Link>
170
+
</b>{''}
171
+
plan.
172
+
</Note>
173
+
174
+
By using **Password Protection**, you can ensure that visitors of your Preview Deployments must enter a password in order to gain access.
175
+
176
+
Teams can opt into using this feature by enabling it from the "Optional" badge and paying <DollarSign />150 per month. Once you opt in, you can use it across other projects in the same team:
<Caption>Turning on the toggle and specifying the visitor password.</Caption>
204
+
205
+
After clicking **Save**, all Preview Deployments (existing and future ones) of this project will immediately be protected with a password. If you try to access the page, you’ll be presented with this screen:
After entering the password, the visitor will be redirected to the deployment. Also, a cookie will be set in the visitor’s browser, giving them access to all Preview Deployments of the project.
<Caption>Protecting Production Deployment.</Caption>
228
+
229
+
To protect Production Deployments in addition to Preview Deployments, check **“Also protect my Production Deployment"** and click **Save**.
230
+
231
+
#### Details
232
+
233
+
- If you change the password, visitors who have previously entered the password (and therefore have the cookie set) will need to re-enter the password.
234
+
- If you disable the protection, all existing deployments of the project will become unprotected.
235
+
- If you disable the protection and then enable it, visitors who have the cookie set will continue to be able to access the deployments without re-entering the password.
236
+
- You can use Password Protection in conjunction with [SSO Protection](#sso-protection).
237
+
238
+
#### Disabling the Feature
239
+
240
+
To opt out from this feature, you can do so from your team’s **Settings** → **Billing** page. Click **Edit** next to **Password Protection** and follow the instructions:
By using **SSO Protection**, you can ensure that visitors of your Preview Deployments must log in with a personal Vercel account that is a member of your team to gain access.
260
+
261
+
Teams can opt into using this feature by clicking the "Optional" badge and contacting [our sales team](/contact/sales).
After clicking **Save**, all Preview Deployments (existing and future ones) will immediately require logging in with a personal Vercel account, and the account must be a member of your team. If you try to access the page, you’ll be presented with this screen:
<Caption>Logging in with Vercel is required.</Caption>
295
+
296
+
If a visitor logs in with a personal Vercel account that’s a member of your team, the visitor will be redirected to the deployment. Also, a cookie will be set in the visitor’s browser, giving them access to Preview Deployments.
297
+
298
+
**Note**: If you’ve also enabled Password Protection, the login UI will look like this:
<Caption>Protecting Production Deployment.</Caption>
319
+
320
+
To protect Production Deployments in addition to Preview Deployments, check **“Also protect my Production Deployment"** and click **Save**.
321
+
322
+
#### Details
323
+
324
+
- If you disable the protection, all existing deployments of the project will become unprotected.
325
+
- If you disable the protection and then enable it, visitors who previously logged into the deployment with Vercel will continue to be able to access the page without logging in again.
326
+
- If an account is removed from the team, then that account can no longer be used to access the deployment. The cookie will also become invalid.
327
+
- You can use SSO Protection in conjunction with [Password Protection](#password-protection).
328
+
138
329
## Deleting a Project
139
330
140
331
<Notetype="warning">
@@ -169,8 +360,8 @@ Next, select **Advanced** from the menu.
0 commit comments