Using Passwords

In Sitejet, you can protect individual pages from unauthorized access with a password. In this article, we'll show you how to set this up.

Table of contents


Basic knowledge

Even with publicly accessible websites, it is possible that certain subpages need to be protected against access by unauthorized persons. These can be subpages that are for employees only or pages that are under construction and feature new designs or content that aren't ready to be made public. In the creation process, we recommend that you work with a placeholder site and set a password for the draft pages you are working on. With Sitejet, you can protect individual subpages with a password easily.


Password protect a page

To set a password for a specific subpage, open the page settings by clicking on "Pages" at the top of the Website Builder (CMS). The settings for all pages and subpages of the website are displayed in the menu on the right. Introductory information about this menu can be found in the articles on navigation, creating subdomains, and SEO.

Enter the password for the respective subpage in the "Password" field of the "SEO & details" section.

Then, save the project so that the change is applied. This may take a little longer than usual. When you access the password-protected subpage, the following message will be displayed once the change has been applied:


Customize the design of the password page

For security reasons, the design of the password page can only be adjusted with CSS and not with the editor. To do this, you can set CSS defaults for the .ed-protection class. For example, the following code would center the password prompt on the page.

.ed-protection {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

Become a part of our Community!

Exchange ideas with other web designers about current developments, tips and tricks and show your favorite sites. Get advice and talk to us about possible features you would like to see on Sitejet. Here you can go directly to our community. If you need help with your Slack account, please e-mail us to help@sitejet.io .

Back to the top

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us