Tell me more ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I want to encrypt the username, email, and password fields in the database AND encrypt user files at rest. How can I do this? I am aware of software such as Gazzang and since there is not cost published I can only figure that it will cost thousands of dollars each year.

Is there any alternative solution that I can build myself OR use a software that runs on the server that can encrypt the fields and the user files?

Not sure if it makes a difference but I am using PHP/MYSQL and I have cloud servers.

share|improve this question
dev.mysql.com/doc/refman/5.5/en/encryption-functions.html. The trick is, where do you store the encryption/decryption password. What is this software being used for? If it is for commercial purposes, you should probably hire and expert. – mikeazo Jun 25 '12 at 16:32
Hey, yes i am looking to hire an expert when i am ready. I need to encrypt user files (photos, documents, etc) and user database. – AAA Jun 25 '12 at 16:59
the entire database or just fields within? Are the user files stored in the file system or in the database? Finally, one important question you need to answer is who do you want to protect against? An adversary with physical access to the machine? An adversary coming in through the web service? Etc. – mikeazo Jun 25 '12 at 17:04
for such a practical question, I'm guessing you'll get better answers on IT Security. – mikeazo Jun 25 '12 at 17:05
2  
I would have moved this but the OP has already cross posted: security.stackexchange.com/questions/16473/… so no need. @AAA in future, just flag for moderator attention and wait - we will get to it :) – Antony Vennard Jun 25 '12 at 18:16
show 4 more comments

closed as off topic by B-Con, Antony Vennard Jun 25 '12 at 18:15

Questions on Cryptography Stack Exchange are expected to relate to cryptography within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.