In these scenarios, make use of the noindex tag if you just want the site not to seem in Google, but Do not mind if any consumer using a url can reach the web site. For authentic protection, use suitable authorization solutions, like demanding a consumer password, or getting the https://rsac.org