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: Kieran Kelleher <email@hidden>
- Date: Tue, 5 Jul 2005 12:45:23 -0400
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??
Thanks,
Nathan
On Jul 5, 2005, at 12:11 PM, Kieran Kelleher wrote:
Nathan, have a look at this. It might be just what you need...
http://homepage.mac.com/kelleherk/iblog/C729512539/E2033071041/
index.html
Regards, Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/
On Jul 5, 2005, at 12:14 AM, Nathan Walker wrote:
Is there a good way to model encryption of certain fields by
modifying the Custom formatting (Write) on a field in an EOModel? I
need to encrypt all the passwords and credit card numbers in a MySQL
database for my application. Is there any kinks or special
considerations I need to weight here before doing this. I'd like to
be VERY simple. With MySQL, I can of course encrypt a field with:
password('mysecret') ....can this same technique be used in the
Custom Formatting Write field for a field in a Model or do I need to
implement something on the database side ? I'd like to just use
EOModeler to do this.
Thanks,
Nathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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