How to protect your Webflow site with a password?

Tutorial
March 20, 2023
3 min
Computer on a blue background with a password identification screen and Webflow logo.
Key points

The security of a website is a major concern today. There are various methods to secure your website, and to complement these, Webflow offers the option to add an access code to your site. The goal is to restrict access to your site’s data or a specific page to targeted individuals. For instance, you might need to showcase client prototypes, share content reserved for members, or keep internal data private.

Adding a Password to a Webflow Page

Whether you are in designer mode or editor mode on your Webflow site, you can add an individual password to each page. Each page will have a unique identifier that allows you to protect its content.

1. Protecting a Page from Designer Mode

Log into your Webflow project, then open the pages panel on your left. Choose a page and click directly on the page settings. In the “General” section, there will be a “Password protection” area that is off by default. Click the button and add your custom password.

Webflow designer interface with access to page password settings
Page Password | Webflow Designer

2. Protecting a Page from Editor Mode

In Webflow’s editor mode, you can easily add a password to a page by going to the Pages tab > Settings. Click the “Password protection” button to set and enable your password.

Webflow editor interface with access to page password settings
Page Password | Webflow Editor

Adding a Password to a Set of Webflow Pages

In Webflow, you have the option to create sets of pages that comprise a folder. Access to this folder can be restricted with a unique password, which will protect all of the pages it contains. Each folder in your project can, of course, have its own unique password.

In Webflow, we often work with the concept of parent and child elements to illustrate the dependency that exists between them. A modification to a parent element will directly impact the child elements, which will adopt the same behavior. Here, folders are considered the “Parents” of the “Child” pages. Therefore, a password on a folder will apply to all the pages it contains.

1. Protecting a Folder from Designer Mode

To activate the protection of a folder, proceed in the same way as for regular pages. Go to your Webflow project, select the folder of interest in the “Pages” tab. In the “General” section, you can enable the “Password protection” and customize your password. This password will be applied to all pages within the folder.

Webflow designer interface with access to folder password settings
Folder Password | Webflow Designer

2. Protecting a Folder from Editor Mode

Log into your Webflow site in editor mode. In the “Pages” tab, select the set of pages or folder you wish to protect. Go into the settings of the folder by clicking on “Settings”. You can now enable the “Password protection” and add a custom password.

Webflow editor interface with access to folder password settings
Folder Password | Webflow Editor

Adding a Password to Your Webflow Collections

Webflow allows you to protect each dynamic page of your collections if desired. Thus, anyone wishing to access a page in your collection will need to enter a password. Adding a password to a collection works the same way as adding a password to a standard page. By adding a password to any dynamic page, it will apply to all pages within that section.

1. Protecting a Collection from Designer Mode

From Webflow's designer mode, go to your “pages”. Navigate to the “CMS Collection pages” section. Select the collection you want to protect and open the settings. In the “General” section, enable “Password protection” and enter your password.

Webflow designer interface with access to collection password settings
Collection Password | Webflow Designer

2. Protecting a Collection from Editor Mode

When you are logged into your Webflow site in editor mode, go to your “Pages”. Scroll down to your dynamic pages. Stop at the collection you’re interested in. Choose any page from this collection and open the settings by clicking on “Setting”. Enable “Password protection” and enter your password.

Webflow editor interface with access to collection password settings
Collection Password | Webflow Editor

Adding a Password to Your Entire Webflow Site

The ultimate step to securing your website is to restrict access to all its data by adding a password to the entire site. This can be useful, for example, when you are conducting tests or making demonstrations.

💡 Editing a password for the entire site will remove any passwords you may have previously set on other pages, folders, or collections.

1. Adding a Password to Your Webflow Site in Designer Mode

From designer mode, go to the site’s general settings by clicking on “Project Settings” at the top left of your screen. In the “General” tab, scroll down to the “Website Password” section. Enable “Password Protection” and add the password for your site.

Webflow project settings with site password activation section
Site Password | Webflow

2. Adding a Password to Your Webflow Site in Editor Mode

Adding a password to the entire site is not accessible from editor mode. Please contact your webmaster or log directly into the designer mode of your Webflow site.

⚠️ Every time you add a password to a page, folder, or your site, remember to publish the site to activate the password.

Check out our security guide for Webflow

Thomas Labonne
Thomas Labonne
Co-founder

Suggested articles

Webflow Localization, Credial's Use Case
Documentation
Webflow

Webflow Localization: Practical Guide & Credial's Use Case

Webflow Localization: Practical Guide & Credial's Use Case
Visuel showcasing digidop.fr switching to digidop.com
News
Digidop

Digidop.fr is now Digidop.com

Digidop.fr is now Digidop.com
Photo of the Digidop team with the Digidop Logo 2024
News
Digidop

A Look Back at an Exceptional 2024 and Vision 2025

A Look Back at an Exceptional 2024 and Vision 2025

Want to turn your website into your most valuable asset?

Contact us today