When developing your site, you might want to hide your development environments from outside viewers. Or you may find you have performance issues from excessive bot access. You can control access either with a username and password or by allowing/denying specific IP addresses or networks. This setting applies to the entire environment.
Changing access control triggers a new deploy of the current environment. The changes don’t propagate to child environments until they’re redeployed manually.
- From the Environment menu, select an environment.
- Click Settings.
- In the row with HTTP access control, click Edit .
- Click + Add Login.
- Enter the IP addresses or ranges into the IP addresses field. Put one address or range per line, followed by a space and then
allow
ordeny
. - Click Save.
Control access to your environment using HTTP methods: