How can I secure Octoprint with username/password?

Hi!
I would like to make my Octoprint webserver available outside my home network. To do so I would like to create two accounts:

  • One "admin" account that can actually control the printer
  • One "viewer" account that can only see the current status and webcam image (all readonly)

The second account I would share with friends and family, so that they can watch their prints beeing done :slight_smile:

Does Octorpint support such an account system? Currently the webserver always grants full access to the printer without any login. Couldn't find anything about usernames/passwords/accounts in the settings... Or is there a plugin that can do something like this?

Hi @VanKurt!

Goto OctoPrint Settings -> Access Control -> + Add User
grafik

1 Like

I don't have that option in the settings menu :frowning:

Fixed it :slight_smile:

I used the info on resetting the config.yaml from here: https://github.com/foosel/OctoPrint/wiki/Configuring-Access-Control
After that the access control was available again.

1 Like