Repository navigation
Replies: 2 comments
|
Your request is the natural endpoint of a thread that's been running in the community for days β this is the missing "LAN-exposure with auth" design, and it's currently blocked by a deliberate security stance. Verified against rc.7 ( 1. Why it's blocked today (verified). Two layers:
2. The good news: the design you need already exists in the community. rahulsaipandit's #2548 diff implements exactly this: a 3. On binding a specific LAN IP: the schema restriction ( 4. Recommended sequencing (matches how the maintainers seem to be moving β they tightened the host schema in rc.7 rather than loosening it):
5. Your alternatives today (no code changes): bind Worth cross-linking #2548 (the auth design) and #2445 item 2 (the community security review that flagged this exact gap) β your request is the user-facing side of the same feature. If the maintainers want, I can draft the schema extension + auth config integration against the #2548 diff as a consolidated proposal. |
|
the issue is just that crypto random uuid isn't always used correctly in some places so it works on 127.0.0.1 but not on any other port just need small tweak to fix that something like this then make and a script like this: |
Uh oh!
There was an error while loading. Please reload this page.
I have a 512 GB ARM-based VPS that I intended to use as a self-hosted DSH instance, accessible from my mobile device, web browser, desktop, and laptop.
The server has relatively limited resources, so I would prefer to avoid adding an additional reverse-proxy layer solely for exposing the DSH web interface.
I attempted to bind the DSH web server directly to the server's local network IP:
However, DSH currently rejects any host value other than
127.0.0.1or0.0.0.0:Requested Improvements
It would be useful if the webserver configuration supported binding to a specific network interface/IP address, for example:
Additionally, a lightweight built-in authentication mechanism would make direct exposure significantly more practical without requiring a reverse proxy.
For example:
dsh --profile web \ --port 8030 \ --host 0.0.0.0 \ --user admin \ --password 'strong-password'This could provide simple HTTP Basic Authentication or an equivalent lightweight authentication mechanism.
Motivation
This would be particularly useful for users who:
A lightweight built-in authentication option would significantly simplify deployment while keeping the resource footprint minimal.
All reactions