To enable customers and prospects to find your site via Google, we strongly recommend you set up your site as a public site with private sections as needed.
There are use cases when it is better to make your site private.
Use Conditional Content to have private content on a public page. This enables you to keep relevant information on a single page, without permitting site visitors to view unauthorized content.