开发者

ssl encrypt large file using php for backup

I'm g-zipping and backing-up my database dump (using mysqldump ) to amazon S3 . all works fine, but i also ne开发者_开发知识库ed 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 :)


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜