The following steps explain how you can hide a page from the public.
Navigate to the page you want to hide.
Click on edit
There is a separate settings menu on the right side of the page. In this menu you will find the name of the module: Protected content.
Expand the menu of the protected content by clicking on it. Within this menu you have 3 different options:
Everyone: The page is available to anyone who comes to the URL.
Authenticated users: the page is available only for people who are logged into the CMS.
Specific user roles: The page is available only to people who have a certain user role. By checking different roles, you give users linked to the role rights to view the page.
Choose one of the options to properly shield the page, as you wish.
When you have chosen these settings, you can save the page.