Question

I'm g-zipping and backing-up my database dump (using mysqldump ) to amazon S3 . all works fine, but i also need to encrypt this big-compressed file for securing the very- sensitive data within the database.

please help, i'm really lost here .

Thanks in advance :)

Was it helpful?

Solution

First, have a look at Pro PHP Security by Chris Snyder and Michael Southwell from Apress. It will tell you all you need about encryption. There's a lot there.

From there you can download the source code for the book and look for a file called mcrypt.php in Chapter 6. It also comes with a sample implementation.

Good luck! And if it's useful to you, buy the ebook or dead tree version of the text. It's very informative and will teach you a lot! I'm not affiliated with Apress or the authors in any way, I'm just someone that found the book extremely useful.

OTHER TIPS

Thank Mark. After a short goggling about the "gpg" you mentioned, i found good article explaining exactly how to solve the problem: http://devzone.zend.com/article/1265

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top