Hi,

I was wondering whether anyone could help me out with some database
encryption.  The app stores a bit of personal info in the MySQL
database - name, address, phone number, email address & password.  I
think I should probably encrypt this in the database so that even the
owner of the database can't see the information there.

I don't think security will be a huge issue, but all the same I think
it would be good to put something in place.

Anyway, I have looked online and can't really find anything to help me
- it's all a bit too advanced for my needs!  I thought there would be
a simple way of doing this, but I can't find one.

Basically, what I want is when Cake saves the data, it encrypts it
first, and then decrypts it when it loads it back in.  I was sure I'd
read this in the manual, but can't find it now!  There is stuff in
there about salt values, but I don't understand how that works (and
anyway, I set the salt value, and it clearly doesn't cause my data to
encrypt!).

It doesn't have to encrypt absolutely everything (some of it is just
random info), but if it is easier to just do the lot, then that's
grand.  Also, the data is in UTF-8, if that makes any difference.

So if someone could point me in the right direction, I'd be very
grateful.

Thank you.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to