You can create a page template that you can apply to pages so only logged in members can view the contents:
By Rita Breitenberg at Mar 29 2022