2

Hello friends, I am considering self hosting on my desktop computer, which already has gentoo Linux installed. But my concern is that my regular desktop use could compromise the security of self hosted applications, which tend to handle private user data.

What can I do to secure myself against this threat?

For example, browsers on their own are a security nightmare. You are running arbitrary remote scripts, and there's no telling the extent of damage they do (most websites out there doing extensive tracking).

What can I do to secure my self hosted applications while running them on the same machine? Is there something I can do to somehow isolate browsers and other sketchy applications from the damage they could possibly do?

top 1 comments
sorted by: hot top new old
[-] Perhyte@lemmy.world 0 points 3 years ago* (last edited 3 years ago)

Maybe just don't run your services under your regular user account?

Create one or more new user accounts and run them that way. Make sure not to give your regular user account any access to the data in the new accounts.

That doesn't stop all attacks: side-channel attacks (Spectre?) can still happen, and your machine can for example still run out of memory and break your services that way, but it's a solid start.

this post was submitted on 26 Jun 2023
2 points (75.0% liked)

Selfhosted

60366 readers
710 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:

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.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS