I need to encrypt the contents in my web application for each user.
I, the root user, do not want to have access to the contents of the user, period.
How can I make users the only ones who have access to their content? Perhaps I can make the hash of their login password be used as an encryption and decryption key (then their password is stored in a one-way hash in my database, and the hash / encryption hash is generated from their raw password at login and stored in local cookie)? But what if they change their password? Then I have to update all their contents, which can take up a lot of processing power.
Is there an encryption method that would provide this without having to re-encrypt their contents if their password changes? Perhaps something similar to ecryptfs on Linux? Is ecryptfs exploring a good place to start?
Does it make it so that only a user can access their content on my servers (and even me) is even doable?
encryption
Chad johnson
source share