Add an optional authentication mechanism to the MJPEG stream #1
Labels
No labels
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/webcam-daemon-ha#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The daemon binds to
0.0.0.0:PORT, exposing the camera stream to anyone on the network. There is no authentication or access control.Suggested Solution
Add an optional authentication mechanism:
WEBCAM_PASSWORDenv var; if set, require a password query parameter or basic auth on/stream.This is a security hardening task — the current behavior is fine for trusted LANs, but users should have the option to restrict access.
Acceptance Criteria
/stream(and ideally/and/health) require some form of auth when configured