ESP32-CAM Server protected with user/password

Hi,

I am using the CameraWebServer example with an ESP32-CAM without problem, however I couldn't find a way to protect the server access with username and password.

This sketch is using the esp_http_server.h library and after reading the ESP-IDF Programming Guide - ESP32 - — ESP-IDF Programming Guide latest documentation, I was unable to understand how a simple server protection could be configured.

Can someone help me with that
Thanks in advance
Robert