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

Joe Paul
Posts: 1
Joined: Mon Aug 29, 2022 3:01 pm

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

Postby Joe Paul » Sun Dec 04, 2022 7:09 pm

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.

ESP_Sprite
Posts: 9729
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Mon Dec 05, 2022 5:43 am

It depends; what SDK and/or http server library do you use?

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

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

Postby lbernstone » Mon Dec 05, 2022 4:11 pm

There's a number of authentication examples in the WebServer library.
https://github.com/espressif/arduino-es ... r/examples

Who is online

Users browsing this forum: No registered users and 76 guests