ESP8266 Webpage security

Thread Starter

seanstevens

Joined Sep 22, 2009
66
Hi All,

I have been playing around with ESP8266 for a little while and there are a lot of code out there for controlling switches etc which is fine however, none of them has any kind of security, password. All the ones I have come across, you just put your IP and you are at the control web page without any security or authentication.

I tried adding a password routine but obviously my programming isnt up to scratch and lack of documentation as the password was needed after every single switch control which is not what you want - you just want an authentication when you get to the page and once authenticated, you can switch as many times as required. The only place that I thought a password code would need to sit was around the SERVER command, but that doesnt work properly.

I would appreciate any links or ideas on doing this within the NodeMCU environment.

Thanks,
 
Top