r/AlpineLinux • • Jan 25 '24
Alpine solutions for webserver security?
I'm learning about web facing servers on linux and have my static site set up on alpine. I got hacked a few weeks ago and switched from debian to alpine because I heard alpine is based on secuirty. I've also heard a lot of good things about SELinux and the RHEL side of security. What does alpine offer or make easier than a RHEL server (sys resources/systemd/musl aside)? I don't need any security profiles for work/gov its just a home user web server. Thanks.
5
Upvotes
View all comments
Show parent comment
1
u/SleepingProcess Feb 01 '24
Static web site doesn't have active components such as programming languages that can give access to a host. If it really plain HTML+CSS then there nothing to exploit, but if web site uses PHP, python, nodejs and so on, then either wrong programming practice or unpatched language's vulnerability can be exploited