I want to create a local web server running on my photon to serve a configuration web page where users can change some settings for the device. After looking around for a solution, I found a nice library here https://github.com/robdobsn/ParticleRdWebServer .
Unfortunately, the lib doesn’t support Basic Auth and I really want to protect the web page with a password, so I hacked together a simple solution to protect the web page with a password which can be changed and saved permanently into EEPROM.
You can find the code here: https://github.com/peacemoon/PhotonWebServer
Notice: code is experimental with lot of debug prints.
Would love to here what do you think about the solution and if you have any better solutions for a local password-protected web page.