Re: Best way to encrypt passwords, credit cards, with MySQL or EOModeler...
Re: Best way to encrypt passwords, credit cards, with MySQL or EOModeler...
- Subject: Re: Best way to encrypt passwords, credit cards, with MySQL or EOModeler...
- From: David LeBer <email@hidden>
- Date: Tue, 5 Jul 2005 14:53:24 -0400
On 5-Jul-05, at 12:45 PM, Kieran Kelleher wrote:
I use MySQL too. Just use the latest release of Lang .... I only
use it for some simple text methods. Very useful library to have
around in any case.
To convert could be a little tricky depending on whether you have
already deployed an earlier version with live data.
I have not had to do it. One strategy might be to add new fields
for the encrypted attributes and modify the deprecated setters/
getters to automatically convert on the fly when it is detected
that we have the clear attribute and the encoded attribute is null.
-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/
On Jul 5, 2005, at 12:28 PM, Nathan Walker wrote:
This is just what I needed. Thanks. Is version 2.1, the new
release of commons OK ? Also, could you suggest the best way to
convert all of the attributes that are currently UN-encrypted to
follow this configuration. It is MySQL and I probably have 80
records right now with UN-encrypted sensitive information that I
need to encrypt before moving my app to use this configuration??
I've tackled this kind of data migration issue in the past by
building a quick WebObjects app that uses my model to manipulate the
data, or build a utility method that is triggered by a link or button
on my existing app that only visible to an admin.
--
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden