Foren

USER_ table: how to encrypt confidential fields?

Van Tuan Dang, geändert vor 9 Jahren.

USER_ table: how to encrypt confidential fields?

New Member Beiträge: 9 Beitrittsdatum: 06.08.14 Neueste Beiträge
Hello,

I need to encrypt four fields (firstname, middlename, lastname, email) of the USER_ table because of confidentiality reasons.
Has someone already performed such an encryption?
(BTW, I am aware that these fields and this table are special, for they are used in many cases)
thumbnail
Tina Agrawal, geändert vor 9 Jahren.

RE: USER_ table: how to encrypt confidential fields?

Expert Beiträge: 297 Beitrittsdatum: 03.01.08 Neueste Beiträge
Do you want to store them encrypted in the user_ table itself.If yes as you already mentioned this is a special table in the sense these value are used at many places.

Still if you want to do that you can write a Model Listener on the User Model and update it.

Tina
Van Tuan Dang, geändert vor 9 Jahren.

RE: USER_ table: how to encrypt confidential fields?

New Member Beiträge: 9 Beitrittsdatum: 06.08.14 Neueste Beiträge
Thank you Tina for your answer.

Just to be sure I fully understand, there is no Out Of The Box feature in Liferay that allow to encrypt these data, isn't it?
thumbnail
Tina Agrawal, geändert vor 9 Jahren.

RE: USER_ table: how to encrypt confidential fields?

Expert Beiträge: 297 Beitrittsdatum: 03.01.08 Neueste Beiträge
Yes that is true. No encryption supported for these field.

Tina