Password protect client site while in development

Hi

I was wondering the best way to hide a client’s site from search engines whilst in development such as hiding the site behind a password. Is this possible in Grav, or would it be better to do it from a server directory level?

Thanks

The https://github.com/Diyzzuf/grav-plugin-private/ plugin should do what you need. Or, use a server-level / .htpasswd protection