esphome / esphome/feature-requests

Protect firmware upload (web interface) but leave open action controls (ie: light on/off)

Open
#1,037 2 comments 0 reactions 0 assignees View on GitHub
component: web_server
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

**Please describe your use case for this integration and alternatives you've tried:**

**Additional context**

I read that authentication will be added to the web_server component. (actually I already saw the merge)
The idea of that feature was to protect the firmware upload!!!!

Unfortunately this authentication will protect the upload, but will prevent "guest" users to turn on or off the light for instance.
The authentication should protect only the upload, or alternative, there could be an option to choose, to protect all or only the firmware upload. Using the web interface to call actions by guest users is very useful!

Analogously, if you have guest, you do want them to be able to turn on and off light, clima, etc, but you do not want them to open the switches and alter the cabling inside the walls :)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by reviewing the web_server authentication behavior described in the request, then trace how firmware upload and guest action controls are exposed. Done means authentication protects firmware upload while guests can still use light, climate, and similar action controls.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, security, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.