You could run your self hosted services in a VM. The rest of your system can't access that so it's about as secure as it gets. That's kind of what VMs are really good at. The downside is that are pretty much running another operating system inside your operating system so you need the RAM and CPU to support it. If you are running Gnome on that Gentoo box then look at Gnome Boxes.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
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.