Password protect the whole site
In some cases, you would like to lock your website. For example, when your website is under construction. To password protect your website, you can go to Settings > General > Website and check the box of Password protect the website. You can also set the password underneath the checkbox.