[GH-ISSUE #7912] [Feature]: Guided setup for local, private-network and authenticated remote access #4348

Closed
opened 2026-10-22 04:05:53 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Gunterlie on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7912

Originally assigned to: @Gunterlie on GitHub.

Parent: #7909 (step 2)

What problem does this solve?

Owners who want access from another device must assemble the setup from docs and .env flags. A wrong combination can open the installation to everyone.

Proposed solution

  • Offer three setup paths: this device only, a private network such as Tailscale, and authenticated remote access. Explain that every allowed user gets access to a single-user installation.
  • Let the owner set the remote-access password in Settings, from this computer, without editing .env. Store only a hash. Today the refusal page asks owners to edit .env; that friction pushes people toward the passwordless bypass flags. The safe path must be the easiest path.
  • Keep remote use comfortable: one login per device, remembered by the existing signed-in cookie. The owner's own computer never asks for a password.
  • Keep local-only access as the simplest path. Recommend private access for personal installations.
  • For public remote access, guide the owner through authentication and HTTPS. Explain that TLS protects transport but does not restrict who can enter.
  • Show the consequences before an owner enables unauthenticated remote access, broad network trust or a compatibility bypass. Any acknowledgement must use an existing protected owner/admin path. It must never be available to an unauthenticated visitor or replace authentication.
  • Keep external (proxy) authentication compatible, but require explicit configuration of the trusted proxy boundary. Do not trust loopback, Docker, LAN or forwarded requests as proof of upstream authentication.

Acceptance

  • The owner can enable password-protected remote access from Settings on this computer without editing files; a remote visitor cannot reach that control.
  • The remote-access refusal page points to that Settings flow first and lists .env only as an alternative.
  • Each setup path ends in a configuration that the access status (see step 1 sub-issue) reports as expected.
  • No unauthenticated visitor can reach the setup flow or change access settings.
  • Documented Tailscale path and authenticated reverse-proxy path have regression coverage.
  • docs/REMOTE_ACCESS.md and the UI copy explain the same behavior; docs-i18n follow-up opened.
Originally created by @Gunterlie on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7912 Originally assigned to: @Gunterlie on GitHub. Parent: #7909 (step 2) ## What problem does this solve? Owners who want access from another device must assemble the setup from docs and `.env` flags. A wrong combination can open the installation to everyone. ## Proposed solution - Offer three setup paths: this device only, a private network such as Tailscale, and authenticated remote access. Explain that every allowed user gets access to a single-user installation. - Let the owner set the remote-access password in Settings, from this computer, without editing `.env`. Store only a hash. Today the refusal page asks owners to edit `.env`; that friction pushes people toward the passwordless bypass flags. The safe path must be the easiest path. - Keep remote use comfortable: one login per device, remembered by the existing signed-in cookie. The owner's own computer never asks for a password. - Keep local-only access as the simplest path. Recommend private access for personal installations. - For public remote access, guide the owner through authentication and HTTPS. Explain that TLS protects transport but does not restrict who can enter. - Show the consequences before an owner enables unauthenticated remote access, broad network trust or a compatibility bypass. Any acknowledgement must use an existing protected owner/admin path. It must never be available to an unauthenticated visitor or replace authentication. - Keep external (proxy) authentication compatible, but require explicit configuration of the trusted proxy boundary. Do not trust loopback, Docker, LAN or forwarded requests as proof of upstream authentication. ## Acceptance - [ ] The owner can enable password-protected remote access from Settings on this computer without editing files; a remote visitor cannot reach that control. - [ ] The remote-access refusal page points to that Settings flow first and lists `.env` only as an alternative. - [ ] Each setup path ends in a configuration that the access status (see step 1 sub-issue) reports as expected. - [ ] No unauthenticated visitor can reach the setup flow or change access settings. - [ ] Documented Tailscale path and authenticated reverse-proxy path have regression coverage. - [ ] `docs/REMOTE_ACCESS.md` and the UI copy explain the same behavior; docs-i18n follow-up opened.
Author
Owner

@Gunterlie commented on GitHub (Oct 21, 2026):

@Gunterlie is taking this, with agents. It changes how the remote-access password is stored, so a short design comes first (storage, precedence over .env, local-only setup). Implementation starts after the shared access-policy function from #7911.

<!-- gh-comment-id:6310509680 --> @Gunterlie commented on GitHub (Oct 21, 2026): @Gunterlie is taking this, with agents. It changes how the remote-access password is stored, so a short design comes first (storage, precedence over `.env`, local-only setup). Implementation starts after the shared access-policy function from #7911.
bsakaguchi 2026-10-24 04:03:25 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4348
No description provided.