3 ms·
Security reminder: The live server should not have write access to the backup machine. Instead the backup machine should have read access to the live server.
by ars 15y ago
Security reminder:
The live server should not have write access to the backup machine.
Instead the backup machine should have read access to the live server.
This prevents disaster in case of hacks.
- cperciva 15y agoThat's one option, but I prefer doing it the opposite way around: Have the live server push data to the backup server via an append-only interface. This is much simpler in terms of access control if you want to back up some of the live server's data but not all of it.
- redslazer 15y agoI think you missed his point. He meant its safer to give the live server no access because if it gets hacked/virus then it can not impact the backup server.
- cperciva 15y agoI think you missed my point. I was suggesting that the live server should access the backup server via an append-only interface, i.e., one which doesn't allow it to delete backups or modify them.
- snowwrestler 15y agoNow the security of your backups is completely dependent on the construction of the append-only interface. Are you 100% certain it can't be compromised or permission-escalated?
- cperciva 15y agoIt's much easier to build an append-only interface than a read-only-and-only-read-some-files-not-others interface.