ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Clemzo
#59324 Hello,
I work on a project using ESP8266WebServer with complex html pages (css, javascript).
For the sake of simplicity, I use the SPIFFS and all my pages (.html) are stored in the file system with .css, .js and other files.
I have no pages parsed in my code (C/Arduino).
Unfortunately, the BasicAuth system is not suitable because:
If I call http://myserver, BasicAuth works correctly but if I call directly http://myserver/index.html, BasicAuth is bypassed.
The problem is that BasicAuth does not protect the directory as an httaccess but only the method of accessing the pages.
So my question: Is there a more effective authentication solution?
thank you for your attention