Results 1 to 4 of 4

Thread: Server disk encryption - feasible?

  1. #1

    Question Server disk encryption - feasible?

    I'm relatively new to Linux disk encryption theory and practice, and am researching it, but would like to hear from experienced users as well.

    Disk encryption on a remote server?

    The setup I'm considering involves encrypting a partition which will hold Postgres database, on a Xen powered OpenSuse VPS.

    What am I trying to accomplish? Prevent curious datacenter techies from seeing the data, if they mount the Xen image. Also, who knows where the discs that fail in RAIDs end up...

    I don't know, and so I'm asking, if something like that is worth the trouble, in your experience?

    Please note I am concerned here only with protecting from physical access. The data will be available to clients through a webapp, and that's entirely different security story involving strong passwords, SSL, webappsec, etc...

    Also note that the sensitivity of data is relative. If I can help it, I'd like to prevent any leakage. If the leakage happens, well, the data is really in the class of Business Secrets, no CC data that would, if leaked, harm a number of people.

    I'm just wondering if I should bother at all. One big drawback I see here is that I'd have to manually mount the partition and start the database after each reboot... Not good if the server restarts while I'm not within 5 minutes from logging back in...

  2. #2
    Join Date
    May 2009
    Location
    Jakarta, Beijing
    Posts
    77

    Default Re: Server disk encryption - feasible?

    Hi,
    I using luks dm-crypt for disk encryption with RAID, no problem so far.
    i don't know whether openSUSE has now supported automount for encrypted disk or not,
    but you can do it with debian and ubuntu.
    check this page
    http://wejn.org/how-to-make-password...ryptsetup.html

    HTH
    "And just as you want men to do to you, you also do to them likewise."
    Luke 6:31 NKJV

  3. #3

    Default Re: Server disk encryption - feasible?

    Quote Originally Posted by maill View Post
    Hi,
    I using luks dm-crypt for disk encryption with RAID, no problem so far.
    Since the setup I'm considering is a Xen VPS Guest, RAID is really hidden from it, implemented on the host, so the guest does not see it. The issue is then whether guest OS encryption through Xen host RAID is troublesome.


    i don't know whether openSUSE has now supported automount for encrypted disk or not,
    but you can do it with debian and ubuntu.
    That kinda defeats the purpose. If the encrypted partitions are automounted, then anyone can simply mount the disk image and boot it.

    Thanks for your input, though.

  4. #4
    Join Date
    Jun 2008
    Location
    Kln, Deutschland
    Posts
    1,054

    Default Re: Server disk encryption - feasible?

    lol, no, it asks for the passphrase on boot/mounting.

    The only problem with that is rebooting/restarting the server remotely, although I did see someone address that issue somewhere and got it to work.

    You can also use a passkey file apparently, ie keep the "key" on, say, a USB stick, and (in theory) it can read the passphrase from there. No USB "key" - no boot!

    On my server I use an encrypted /home partition and have my webserver and any other web-related stuff in a sub-folder of /home.

    So if someone steals the server, it can boot, but none of the data will be available.

    You can also use the "encrypted home folder" option when adding a user through yast (or yast2 gui). That simply creates a great big file of a specified size, but that only mounts when a user logs in. You can get around that by simply mounting it manually if you like. That can also be done remotely.

    And thinking about the remote mounting issue, I guess you could also do that for a standard encrypted /home partition quite simply by mounting it manually after boot! Because the prompt asking for the passphrase times-out after about 30 seconds (as a guess), and the machine then continues to boot normally apart from mounting the encrypted partition.

    As long as you can get remote access (ssh or even telnet!), then you can manually mount the encrypted partition .
    HP dv6645, Nvidia 8400m-gs, KDE 4.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •