How to password restrict IoT edge computer web interface

Does anyone know how to password protect the web interface on the IoT Edge Computer? I’ve looked through Onion docs and can’t find anything.