Password protection

Protect your documentation site with a shared password for simple access control.
View as Markdown
Team and Enterprise feature

This feature is available only for the Team and Enterprise plans. To get started, reach out to support@buildwithfern.com.

Password protection allows you to restrict access to your documentation site using a single shared password or multiple passwords (up to three), each mapped to a role. This is useful for pre-release documentation, internal resources, or any content you want to keep private without requiring individual user accounts.

Set up and manage password protection in the Fern Dashboard. If you set up multiple passwords for different user roles, then configure RBAC to control which content different groups can access.

How it works

When password protection is enabled, visitors to your documentation site are prompted to enter a password before they can view any content. Once authenticated, users can browse the site until their session expires. If multiple passwords are configured, the password entered determines the user’s role and which content they can access.

When password protection is active, search engines won’t index your site.