Hi everybody (Hi Dr. Nick).
I once again turn to this community to help my small mind get around technology that surpasses me. I have a small Ubuntu server at home; it's mostly a file server with a few HDD and Samba shares. I also have a Apache 2.2 server running on it, which until recently served only for internal testing.
I've been looking into opening this HTTP server to the outside world. I don't intend to have high traffic on it, but I need a few specific things to be fully accessible thru HTTP. Of course I'm paranoid because I have my personnal files right next to this abysmal void that is the internet. (Mind you anything REALLY sensitive is encrypted anyway so that's more or less an issue, but still...)
I know the best thing is to NOT host both services on the same machine but this isn't a solution right now. So I have a few questions:
- Can a user coming through the Apache service go up root the virtual server? If so, how can I prevent this?
- What is the www-data user/group actually used for?
- Would having a seperate network interface help?
Note that I follow basic security rules: I don't have a password for root and no user has root priviledge, I installed Apache as a component of Ubuntu and followed default install and the server itself is behind a router (which acts as DHCP).
I tried to rummage through the forums and the net in general but a lot of the topics surpass my knowledge in linux and networking. I want to learn but I have to start by understanding what I'm doing!
Any help will be greatly appreciated! Thanks ~ts