Is there a way to secure access to the dashboard? Like .htaccess or something?
I think there is nothing provided like that in the node code, but it can be achieved is you use a reverseproxy, something like this:
But requires some technical skills and time.
Or do not expose it at all and use the ssh port forwarding instead: https://documentation.storj.io/resources/faq/how-to-remote-access-the-web-dashboard