Ask coding questions

← Back to all posts
any resources to learn best practices and possible attacks when when making a home server
potatojs

so i bought this rasberrypi 4 and i wanna use it to make my first home server, i learned nginx, docker, ssh, ufw as my firewall, port forwarding (i didn't learn how to setup a static ip adress but it should be a straight forward task as well). so i have all the pieces i need, BUT most the tutorials i watched say this: "ObViOuSlY this is a dev server and not a prod one, you know that.. right?"
i'm not gonna deploy anything serious in the rpi this is just an expirement but it would be nice to feel secure when i open my port 80 and 443 to the world. i searched for resources to learn about this topic but found none :(
i want resources to learn about security hasards and attacks: research papers, youtube videos, articules... ANYTHING

Answered by xfinnbar [earned 5 cycles]
View Answer
Voters
potatojs
Comments
hotnewtop
xfinnbar

The dev servers don't have security issues mostly, but they do sometimes have poor performance. For a home server, as long as your code isn't vulnerable, the server isn't. You should probably put it behind cloudflare anyway.

potatojs

@xfinnbar woof what a relief, that's prob what i'm gonna do i don't really care about performance anyways

VulcanWM

woah I haven’t seen u on replit for a long time

potatojs

@VulcanWM actually i'm gonna post something very soon...

VulcanWM

oohh :) @potatojs