In these scenarios, make use of the noindex tag if you merely want the website page not to appear in Google, but You should not brain if any consumer which has a url can reach the page. For serious stability, use appropriate authorization methods, like demanding a user password, or https://rsac.org