Re: Passwording ESP8266HTTPUpdateServer?
Posted: Sat May 14, 2016 8:36 am
Since the ESP8266HTTPUpdateServer is using the ESP8266WebServer, you could simply add some code in the /update callback to prevent the process to continue. This code is similar of the one from ESP8266WebServer/examples/HttpBasicAuth/HttpBasicAuth.ino :
Code: Select all
if(!server.authenticate(www_username, www_password))
return server.requestAuthentication();