Skip to main content
All CollectionsProject Settings
HTTP Basic Authentication
HTTP Basic Authentication
Matt Gray avatar
Written by Matt Gray
Updated over a year ago

Often you might want to prevent the general public from accessing your project, particularly if it's work-in-progress. To allow that, Servd provides the option to provide enable "HTTP Basic Authentication" a.k.a. basic auth, which is supported by nearly all browsers. By default, basic auth is enabled on staging.

Toggling Basic Auth

  1. Navigate to your production or staging settings page, depending on which environment you want to enable basic auth on.

  2. Scroll down to the "Basic Auth" section.

  3. Flick the slider in the right hand corner to enable Basic Auth.

  4. Sync your project to deploy the change.

  5. Copy your username and password details from on your project's overview page.
    โ€‹

  6. Access one of your project URLs for your chosen environment. You should now see a basic auth prompt asking for a username and password.

  7. Submit the username and password, and you're in!

Updating Basic Auth Credentials

If you'd like to update the Basic Auth username and password, follow these steps:

  1. Navigate to your production or staging settings page, depending on which environment you're looking to update.

  2. Scroll down to the "Basic Auth" section.

  3. Update the Username and/or Password.

    If Basic Auth is disabled, flip the toggle switch to reveal the Username and Password fields.

  4. Click the "Save" button.

  5. Sync your project to deploy the change.

Did this answer your question?