How to protect webmin via .htpasswd?

0

Originally asked this here but I think it was the wrong site.

I have got webmin installed on my Ubuntu. What would be the best way of adding an additional password layer like via .htpasswd file?

So far I have tried placing .htaccess & .htpasswd in /etc/webmin folder but it doesn't seem to be picking up from there.

Anon

Posted 2018-06-02T16:15:36.493

Reputation: 183

Webmin is self-hosted. It does not use Apache httpd. If you feel Webmin is insecure, don’t use it. – Daniel B – 2018-06-02T17:07:41.287

@DanielB By self-hosted, I think you mean has it's own server. That's actually quite helpful. It's not about what I 'feel', just don't think there's any need to expose a powerful tool to attacks. I might use it's restrict access to IPs feature. – Anon – 2018-06-03T01:09:53.560

No answers