Skip to main content

Set up Password Protection for Projects & individual Pages

In this article, you'll learn how to protect projects or individual pages with a password.

Written by Vanessa Haack

Password protection allows you to securely restrict access to your content and make it available only to specific people. You can choose whether to protect your entire website, multiple selected pages within a project, or just a single page.

Additionally, you can take advantage of features such as multiple passwords, expiration dates, session duration, and custom password pages.


Protect Pages and Projects with a Password

If you want to protect multiple pages or an entire website, you can enable password protection directly in the project settings.

Protect Multiple Pages with a Password

Step 1: Open the Settings

Go to your project overview and open the "Settings" tab.

Step 2: Open Password protection

Open the "Password protection" tab and make sure the "Specific pages" option is selected.

Step 3: Select pages & set a password

Click "Protect page" and select the pages you want to protect with the same password.

Next, you can create one or more passwords or generate them automatically. You can also configure an expiration date, session time, and choose which password page should be displayed.


Click "Save" to apply your changes.

You can always view the status of your protected pages in the overview:

  • Active: Password protection is currently enabled.

  • Expiring soon: The protection period will end shortly.

  • Expired: Password protection is no longer active.


Protect your entire Website with a Password

If you want to protect your entire website, you can enable password protection for the entire project.

Step 1: Open the Settings

Go to your project overview and open the "Settings" tab.

Step 2: Open Password protection

Open the "Password protection" tab and select "Entire Website".

You will then be asked to confirm that you want to switch to site-wide password protection. Click "Confirm" to proceed.

You can then configure the password protection to suit your needs:

  • Generate a password automatically or create your own custom password.

  • Set an expiration date, including the exact date and time.

  • Choose the session time:

    • 1 day

    • 7 days

    • 30 days

    • Unlimited

  • Add multiple passwords at the same time.

With multiple passwords, you can create different access points for different people or groups, for example.

📌 Please note: Password protection makes your website inaccessible to search engines. As a result, Google and other search engines cannot crawl the protected pages or display them in search results.


Protect an Individual Page with a Password

In addition to protecting an entire project or multiple pages, you can also secure individual pages independently.

To enable password protection for a single page:

Step 1: Open the Page

Open the desired page.

Step 2: Open the Settings

Open the page settings by clicking the gear icon and switch to the "Password" tab.

Step 3: Set a Password

Enable the "Protected" option. You can then configure the same settings as with project protection:

  • Generate a password automatically or create your own custom password.

  • Set an expiration date with a specific date and time.

  • Choose the session duration.

  • Add additional passwords.

  • Use a custom password page.

This allows you to protect a single page specifically without requiring password protection for the entire project.


Use a Custom Password Protection Page

For the password prompt, you can either use the default password page or create your own custom password protection page.

A custom password page is useful, for example, if you want to provide visitors with additional information, use your own branding, or present exclusive content in a professional way.

Our default password page looks like this:


How to Create a custom Password page:

Step 1: Create a new Page in the Project

Create a new page by clicking "Create" in the top-right corner of your project overview.


Click "Start from the scratch" and assign a name to your page, for example "Password".

Step 2: Design the Section or Page

Design the protected page entirely according to your preferences:

  • Use a template and customize it afterward.

  • Or create a completely custom page with your desired content, images, and design elements.

This allows you to add a personal welcome message, additional information, or your own branding before visitors enter the password.

📌 Please note: The AI cannot be used to create the complete password protection section, as additional elements cannot be added in this process.

However, you can still use AI to create individual elements such as headings, texts, or other content and customize your page. You can learn more about this here.

Step 3: Add the Password Element

After creating your section or page, add the element. To do this, click the blue + icon at the desired location and then select the "Password input" element.

Step 4: Customize the Element

You can fully customize the element to match your design. You can adjust, among other things:

  • The text for the password input individually.

  • The text of the unlock button.

  • The button style

    • Button type

    • Text color

    • Button color

    • Radius

  • The size, width, and alignment.

Additionally, you can add more input fields. These fields are optional:

  • Name

  • Phone number

  • Email address

To add them, click on the element and select "Add item".


You can then send the collected data directly to your CRM.

Step 5: Set the Password page

Once your page has been created, publish it first. Then go to the password protection settings (for example, for a specific page or a project, depending on where you enabled password protection).

Under "Password page", select your newly created page and then click "Save".

The new password page would then look and function as follows when live:


Use Multiple Passwords

You can create multiple passwords for a protected website or page. To do this, click "Add additional password" and configure the desired settings for each password.

For each additional password, you can:

  • Set a password name.

  • Create a custom password or generate one automatically.

  • Define an individual expiration date and time.

  • Select the session duration.

Multiple passwords are useful, for example, when different people or groups should each receive their own access. This allows you to manage individual passwords independently or remove them when needed without affecting the other access points.

Typical use cases include:

  • Different passwords for different customers.

  • Separate access for employees or partners.

  • Time-limited passwords for events or campaigns.

The password name helps you distinguish between the different access points. This name is only visible to you for management purposes and is not shown to visitors.


Access History and Statistics

The dashboard shows how many times each password has been unlocked today.

To view this, click "Password protection" in Settings, then click "Unlocks" for the relevant page under "Specific pages". There, you can see the current unlock count.


Starting with the Advanced Plan, an access history is also available. There, you can view the following information:

  • Time of the last unlock

  • Visitor’s country

  • Device type

  • Time spent on the page

  • Successful or failed access

If the password page includes additional fields such as an email address or phone number, this information is also stored.

To view this, click the three dots on the respective subpage and then click "Activity". All relevant information will be displayed there.


To view the history for the entire website, click "Access history". There, you can view the relevant information.


Important:

  • Access logs are stored for 30 days and then deleted.

  • Location information is displayed only at the country level.

  • The duration of the visit is transmitted by the visitor's browser.


Availability by Plan

Password protection and available features depend on the main plan you've subscribed to.

Free

Essential

Standard

Advanced

Expert

Protection for the entire website & individual pages

One password per page/website

Share links

Expiration date

Session time

Custom password pages

Multiple passwords per page

Access history

Send Leads to CRM

📌 Please note: Collaborators have the same permissions as the project owner.


Frequently Asked Questions (FAQ)

What does session time mean?

The session time determines how long a visitor has access to the protected page after successfully entering the password.

During this period, the password does not need to be entered again. Once the session time expires, the visitor will be required to enter the password again.

What happens when a password expires?


Once a password reaches its expiration date, it is no longer valid. Visitors using this password will see the message "Incorrect password" and will no longer be able to access the protected content. Other active passwords will remain valid.


Important: In some cases, expiration times may be delayed by up to one hour.

Can I protect only a single section with a password?


Password protection can currently only be enabled for complete pages or an entire project. Individual sections within a page cannot be protected with a separate password.

How do I remove password protection and make a page public again?

Password protection can be adjusted or removed at any time.

For page protection:

  1. Open the password protection settings.

  2. Set the visibility back to "Public".

  3. Confirm the prompt "Disable page protection?".

The page will then be accessible again without a password.

For project protection:

  1. Switch to the "Specific pages" tab.

  2. This changes the protection mode to individual page protection.

  3. Confirm the prompt "Switch to per-page protection?".


You can then manage the protection settings for individual pages separately.

How can I delete a password?

If you want to remove a single password, click "Remove password".


For multiple created passwords, simply click on the delete-symbol:


Deleting a password does not affect any other existing passwords.

​Important: Visitors who have already unlocked a page do not lose access immediately.

Access remains active until the set session duration expires. If the session duration is set to "Unlimited", access remains active permanently in that browser.

Can I change the password later?

Yes. You can change an existing password at any time or create a new password. Simply click on the existing password, update it, and then click "Save".

The change takes effect immediately after saving and republishing.

​Important: Visitors who have already unlocked a page do not lose access immediately.

Access remains active until the set session duration expires. If the session duration is set to "Unlimited", access remains active permanently in that browser.

In which languages is the standard password page available?

The default password page is currently available in the following languages:

  • German

  • English

  • Spanish

  • French

  • Polish

  • Ukrainian

Alternatively, you can create your own password page.

Why isn't any password working?

A page can be protected even if no password has been set. In this case, visitors will see the password prompt but will not be able to unlock the page.

Therefore, first check whether an active password has actually been set for the protected page or website.

Can I secure a page that contains the password input field?

A page containing a password input field cannot be password-protected at the same time, since it serves as the unlock page.

The editor automatically prevents this combination and displays a corresponding message: "Password protection conflict".

Is the editor also protected by password protection?

No, password protection applies only to the published website. The preview in the editor remains accessible without a password.

Are statistics or tracking enabled on password pages?

The following content is not loaded on password pages:

  • Website statistics

  • Custom code

  • Third-party scripts

This ensures that no tracking data is collected before a visitor has unlocked the page.

How does password protection affect SEO?

Protected pages are automatically:

  • removed from the sitemap

  • marked with "noindex"

The SEO section of the protected page also displays a message: "Indexing for this page is disabled".


The password page itself is not indexed by search engines either.

How does the password-protected cookie banner work?

While password protection is active, the following cookies necessary for this feature are set:

  • op_unlock → stores the unlock session

  • op_visitor → is used for access analytics

These cookies are automatically deleted as soon as password protection is deactivated. No additional consent from the visitor is required for this.

What is a share link and how does it work?


With a share link, you can give people direct access to a protected page without requiring them to enter the password manually.

To do this, enable the share link and copy the generated link.


Anyone with this link can open the page directly and will automatically receive access. This feature is especially useful when you want to quickly and easily share protected content with specific people, such as for customer projects, downloads, or internal use.


💡Do you have any feedback about this article? Please let us know through our live chat or at support@onepage.io, so we may keep it up to date. Thank you! 🙂

Did this answer your question?