srwi / ESPEssentials

Essentials to get you started with your Arduino projects using the ESP8266 and ESP32.
GNU Lesser General Public License v2.1
26 stars 5 forks source link

password protection #10

Open wimgrymonprez opened 1 year ago

wimgrymonprez commented 1 year ago

I don't know where to put a request. But i was wondering if it's possible to add authentication not only to the upload function, but also to the edit function, and reset and reboot function. So that when the iot is accessed by someone via the internet, that they can't get to anything they shouldn't have access to.

srwi commented 1 year ago

Hi @wimgrymonprez, surely that is possible! I'll have to find some time to implement it though.

If it is rather urgent you could have a go at it yourself. This would be the relevant Arduino example: https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/HttpBasicAuth/HttpBasicAuth.ino