encrypt apache and mysql servers
        Posted  
        
            by stormdrain
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by stormdrain
        
        
        
        Published on 2010-03-26T17:51:07Z
        Indexed on 
            2010/03/26
            17:53 UTC
        
        
        Read the original article
        Hit count: 427
        
I have a question about encrypting disks.
I have 2 servers: 1 is apache for web/frontend and it talks to server 2 which is mysql. They are all for intranet only; no external access. I was looking into using PGP or GnuPG to encrypt the disks. I'm not clear, though, as to exactly how this would work.
Where would the keys be stored? On the client? On apache? If there is a key on apache to access mysql, does there need to be a key for each user? If so, if key 1 is used to alter some data, would then that data be inaccessible to a user using key 2? And the apache key, would that only be accessible to users with local keys?
Is encryption done on the fly? Does it degrade performance?
What would be the best approach to encrypt the data on these servers, but have them accessible to users?
Thanks!
© Stack Overflow or respective owner