this post was submitted on 20 Mar 2024
30 points (89.5% liked)

Selfhosted

40132 readers
544 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I want to self host a suite of services and make them public.

What kind of services? Well, all kinds. Matrix, lemmy, bookwyrm, and I may think of others in the future.

The problem? I don't even know where to begin from a legal stand point. Not only that, I am a barely legal immigrant (vulnerable to deportation) from a country that is not very liked by the gov. I am afraid to put myself in a vulnerable position and get more trouble than the typical US citizen.

Is there a reasonable way to be able to self host public services without legal trouble? Is there a resource I can follow for best practices to avoid issues?

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 36 points 7 months ago

Uh… don’t? I mean, why rush it? Host it privately. What compels you to host publicly facing such high risks?

[–] [email protected] 24 points 7 months ago (1 children)

This is also one of the biggest reasons for me why i stopped hosting things for strangers. My country is insanely backwards with when it comes to internet law. For example Mastodon (and others) caches media and text-contents of posts from remote instances on your own server, you are now distributing - you don't even need to directly follow someone who posts media (attachments) or even just links to a website thats hosts unlawful stuff and you're on the hook and considered just as responsible as the original poster. Insanity.

[–] [email protected] 12 points 7 months ago

I guess you're from Germany too?

[–] [email protected] 21 points 7 months ago

The EFF has a good document on this topic.

[–] [email protected] 10 points 7 months ago

In general, unless your service is pretty big, just following best practices for security and moderation should be fine. Once you get to a certain user base size, laws start kicking in regarding what data you can collect, how you can manage it, what responsibilities you have with regard to that data, etc.

That being said, seeing as you are not a citizen, I’d advise you to just provide the resources to someone else who can do all the hosting for you. That way they’re assuming all the liability.

[–] [email protected] 7 points 7 months ago* (last edited 7 months ago)

Truth be told, I haven't really considered legality when hosting anything. Most of my stuff is self created with open source software for personal use. I'm going to guess and say all that is good.

The only legally questionable stuff I can think of is sharing public access to licensed software or somesort of copyrighted media downloader. Stay clear of those and you should be good.

There are also legal things such as TOR and, yes sometimes VPN, that can raise eyebrows. While they aren't illegal, many sites and services block them. I ran a TOR node for a few days, and within a week it seemed like 1/4 of the internet blacklisted me. Wasn't really fun. Had to change my MAC address and snag a new IP address from my ISP.

I don't really open my servers to non-family and friends. I don't want to spend the time being a babysitter for 20 sites. If that's a concern, perhaps rethink who you give access to.

Trust your gut. You kinda know if you're walking a line.

Good luck!

[–] [email protected] 2 points 7 months ago (1 children)

You can host overseas and use a proxy for hosting. I mostly don't worry about it though because I don't do anything illegal.

[–] [email protected] 4 points 7 months ago (2 children)

I don't plan on doing anything illegal myself, but apparently that's not enough.

Where overseas can I be free of legal issues? Can you elaborate on what you mean by using a proxy for hosting?

[–] [email protected] 2 points 7 months ago (1 children)

If you're not doing anything illegal/copyright violating, then you can host whatever you want. Self-hosting isn't illegal, in fact it's what nearly every business does in some fashion. It's just risky from an intrusion perspective

But if you're going to host something, it should be via a secure channel - a VPN, Reverse Proxy from a VPS, Mesh Network (perhaps with a web-hosted entry point), etc.

[–] [email protected] 3 points 7 months ago

He's talking about user generated content from other users.

[–] [email protected] 1 points 7 months ago

Assuming you are in the US legally you won't have issues. If your illegal that's a different story and you are going to be in trouble regardless

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
IP Internet Protocol
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

3 acronyms in this thread; the most compressed thread commented on today has 9 acronyms.

[Thread #617 for this sub, first seen 20th Mar 2024, 02:55] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 2 points 7 months ago

Assuming your in the US legally you shouldn't have an issue. If you are illegal and are not suppost to be in the US self hosting services isn't going to change anything.

Anyway I would not host any services at home as that's a major security and privacy risk. If you are wanting to access your own personal stuff use a VPN or route traffic though a VPS. If you want to host a public server you can do so though a VPS where the risk to you is much lower. It also will have the benefit of having high availability by design.

[–] [email protected] 1 points 7 months ago

I don't really know anything about this, but good luck :)