I have a little checklist I use to cover the basics: https://drewdevault.com/new-server.html
Securing your Linux web server
21–30 of 54 posts
Re: Securing your Linux web server
#22Re: Securing your Linux web server
#23I am so glad nowadays to get websites for my hobby projects going, I just have to do a Github page, and don't have to worry about all that stuff (and don't have to pay, either). Github pages + Static content generators are among the best advancements in the recent years.
Re: Securing your Linux web server
#24It's super awesome when working on personal projects! (although in a way I did enjoy doing all that in the first place)
Re: Securing your Linux web server
#25I am so glad nowadays to get websites for my hobby projects going, I just have to do a Github page, and don't have to worry about all that stuff (and don't have to pay, either). Github pages + Static content generators are among the best advancements in the recent years.
Back in the day we used to call that "Shared hosting" and it was looked down on by the in-crowd.
In this case the hosting is by a company with the technical skills and infrastructure to properly secure and support the service, not some inexperienced kid living with his parents who thinks a simple cPanel installation (that never gets updated for some reason he doesn't notice or can't be bothered to diagnose) is a great almost-zero-effort way to sell hosting to make a bit of extra pocket money over the school/college/other holidays.
Also the lack of control made using certain things impossible, you were usually held back on an old version of mySQL & PHP, and little else to if you wanted to use postgres or python or anything other you were stuck. That is the same here of course: this probably gives you even less control because it is not trying to be shared hosting it is a hosting-platform-as-a-service.
[1] I may actually be a high-and-mighty better-than-thou you-know-nothing toffee-nosed snob, but that is beside the point here!
Re: Securing your Linux web server
#26Re: Securing your Linux web server
#27Earlier quoted context omitted.
I suggest you setup an account on Github and then create a SSH key with a passphrase: https://help.github.com/articles/generating-a-new-ssh-key-an... https://help.github.com/articles/testing-your-ssh-connection... SSH Keys are substantially more secure than passwords.
What does GitHub have to do with it?
Re: Securing your Linux web server
#28Earlier quoted context omitted.
I'm a generalist project manager. When you say "Disable password login via ssh", what is going to be the login method from this point onwards? Via a personal certificate? Tks
~/.ssh/authorized_keys, which is basically personal certificates.
Re: Securing your Linux web server
#29Earlier quoted context omitted.
The general advice I've seen is to not host your own server. But I think it would be a great learning experience. If you cover the basics, is your server still extremely vulnerable?
Who is giving the advice to not host your own server? My advice is to do host your own server.
It's perfectly possible to drive a car without building one, or to become technically proficient without hosting your own server. If you DIY something, you may learn a lot about it, but it won't make you any better at the thing you actually wanted to do with it.
Re: Securing your Linux web server
#30I have a little checklist I use to cover the basics: https://drewdevault.com/new-server.html
The general advice I've seen is to not host your own server. But I think it would be a great learning experience. If you cover the basics, is your server still extremely vulnerable?
You can make a very secure system by hosting it yourself. Do you need a very secure system? Or do you just need to know that you need a firewall, and to manage your credentials securely, and to segregate applications' security domains, and do filtering of inputs, and blocking of brute force attacks?
You probably just need to learn about security, and learning to host yourself is not the same thing.