Hi All,
Have been looking at an option to encrypt the data to the database and on read decrypt. This would be for custom fields such as credentials or information requiring a higher level of security.
Just wondering if anyone has done this at present? My thoughts were to utilise the two way mcrypt_encrypt with MCRYPT_RIJNDAEL_256, however I am not a PHP programmer so difficult for me to pin point where to possible put this.
Either way, I think it would be a good to have some information publicly available to assist others with this. Any information would be greatly appreciated.
Thanks
Owen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is already a special type of attribute (AttributeEncryptedString) which can act as a drop-in replacement for any text field and encrypts/decrypts the content when writing/reading in the database. It's declared in core/attributedef.class.inc.php.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
Have been looking at an option to encrypt the data to the database and on read decrypt. This would be for custom fields such as credentials or information requiring a higher level of security.
Just wondering if anyone has done this at present? My thoughts were to utilise the two way mcrypt_encrypt with MCRYPT_RIJNDAEL_256, however I am not a PHP programmer so difficult for me to pin point where to possible put this.
Either way, I think it would be a good to have some information publicly available to assist others with this. Any information would be greatly appreciated.
Thanks
Owen
Hi Owen,
There is already a special type of attribute (AttributeEncryptedString) which can act as a drop-in replacement for any text field and encrypts/decrypts the content when writing/reading in the database. It's declared in core/attributedef.class.inc.php.
Hi Denis,
Fantastic, thanks very much!
Owen