Database Encryption

For Joomla! 2.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Note: All 1.6, 1.7 and 3.5 releases have reached end of life and should be updated to 3.x.

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
dave1167
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Mar 08, 2007 6:44 am

Database Encryption

Post by dave1167 » Wed May 04, 2011 8:30 am

Hi

I am writing an application in J1.6 which will store peoples names and addresses the client wants the names and addresses encrypted. Is there any easy way to do this ? i.e. any built in encryption routines I can call or is this quite a complicated process ? There would probably be only one table to encrypt

Regards Dave

User avatar
3dgtech
Joomla! Guru
Joomla! Guru
Posts: 546
Joined: Mon Feb 08, 2010 4:15 pm
Location: Cleveland, Ohio
Contact:

Re: Database Encryption

Post by 3dgtech » Wed May 04, 2011 8:39 am

Whatever encryption you use, keep in mind that you will need to provide decoding to any core function that needs acces to these fields.

User avatar
3dgtech
Joomla! Guru
Joomla! Guru
Posts: 546
Joined: Mon Feb 08, 2010 4:15 pm
Location: Cleveland, Ohio
Contact:

Re: Database Encryption

Post by 3dgtech » Wed May 04, 2011 8:43 am

I have used php mcrypt on the php level
And AES_ENCRYPT on the mysql level.
If anyone knows any joomla API calls please enlighten...

dave1167
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Mar 08, 2007 6:44 am

Re: Database Encryption

Post by dave1167 » Wed May 04, 2011 8:59 am

thanks 3dg

I have just found JSimpleCrypt which may be what I am looking for. The level of encryption does not need to be that high so this may do the trick. I will experiment and report back

User avatar
3dgtech
Joomla! Guru
Joomla! Guru
Posts: 546
Joined: Mon Feb 08, 2010 4:15 pm
Location: Cleveland, Ohio
Contact:

Re: Database Encryption

Post by 3dgtech » Wed May 04, 2011 9:13 am

Great let us know how it is getting seeded...

User avatar
3dgtech
Joomla! Guru
Joomla! Guru
Posts: 546
Joined: Mon Feb 08, 2010 4:15 pm
Location: Cleveland, Ohio
Contact:

Re: Database Encryption

Post by 3dgtech » Wed May 04, 2011 9:13 am

(if at all)

nicolasbzh
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jan 27, 2012 10:59 am

Re: Database Encryption

Post by nicolasbzh » Fri Jan 27, 2012 11:06 am

Hi,

I use ACYmailing and would like to encrypt names and email addresses in the database. So I am very interesting in your solution as your problem was similar.

Thanks
Nico

budiperkasa
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sat Apr 21, 2012 7:02 am
Location: Indonesia
Contact:

Re: Database Encryption

Post by budiperkasa » Tue Apr 24, 2012 10:38 am

Wow, that's a big idea, but how about SQL Performance ? could your extensions give a heavy load to SQL data-base or completely no ?

Thanks


Locked

Return to “Joomla! 2.5 Coding”