Page 1 of 1

Password protecting the ESP32 web page served over the internet???

Posted: Sun Dec 04, 2022 7:09 pm
by Joe Paul
Hi Folks,

So, in a nuts shell, I have successfully used the ESP8266 to control a model train with a friend 25 miles away over the internet. I assume it's not difficult to use the same code on the ESP32. My question is related to password protecting the page served by the ESP32 so that after providing someone with the URL, they'll need a password also.

Can someone here point me to documentation on the subject of password protecting the ESP32 web page served over the internet?

Many thanks!!

Take care, Joe.

Re: Password protecting the ESP32 web page served over the internet???

Posted: Mon Dec 05, 2022 5:43 am
by ESP_Sprite
It depends; what SDK and/or http server library do you use?

Re: Password protecting the ESP32 web page served over the internet???

Posted: Mon Dec 05, 2022 4:11 pm
by lbernstone
There's a number of authentication examples in the WebServer library.
https://github.com/espressif/arduino-es ... r/examples