How do you handle semi-private services?

3 years ago by kopper [they/them] to c/selfhosted

For completely private services, the obvious answer is a VPN. But what about the ones that need to be "partially" public? Whether just read only, or with restrictions to publicly registered accounts.

For example, If I wanted to open up a git host where I allow public registrations so they can send issues/patches but can't create repos (kinda impossible with pull requests but you get my point)

Is there any specific thing you can do, or do you just disable registrations completely except for something "out-of-band" (ask me on XYZ to create an account for you, git send-email, mirrors to public services, etc...)

Of course, individual software may have access control features built in, but as a whole, is there anything reasonably generic?

load all comments
philipcristiano 2 points 3 years ago

Not git(ea) but Synapse: I use separate Traefik routers for internal and external endpoints. Internal has access to all paths but for external entry points I allow or deny list paths as needed. It’s error prone as it can either break the app if not everything required is allowlisted, or cause a security issue if not everything is deny listed.

path: 0 362612, hotness: undefined, score: 2, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
63094
6830
6313

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...