In these instances, use the noindex tag if you merely want the web site not to look in Google, but You should not intellect if any person which has a link can reach the page. For real security, use proper authorization methods, like requiring a user password, or taking https://www.new-seo.com/five-wordpress-seo-plugins-that-help-you-optimize-your-site-for-search-engines/