Security - Data Encryption - At Rest
Posted: 2021-02-01 06:00
Just wondering if anybody has successfully implemented any current standard data encryption for data stored "at rest"?
I need to encrypt/decrypt just some fields (name, etc) within a table at rest and I'm wondering what is the quickest/easiest method that would ultimately pass a security audit if it comes to that?
Encrypted fields also needs to be searchable via quicksearch and filters and the stored encrypted data available to output to forms (such as an Invoice, etc).
I'm imagining the table "before_insert" and "before_update" hooks could be used for encryption and the _init hook for decryption but is that going to mess up filters/search? Storing the keys within the actual hook files would also present a potential security issue?
Perhaps somebody is aware of a package that already exists out there that will integrate into Appgini generated hooks files without too much difficulty?
Any ideas/assistance would be appreciated. Thanks in advance.
I need to encrypt/decrypt just some fields (name, etc) within a table at rest and I'm wondering what is the quickest/easiest method that would ultimately pass a security audit if it comes to that?
Encrypted fields also needs to be searchable via quicksearch and filters and the stored encrypted data available to output to forms (such as an Invoice, etc).
I'm imagining the table "before_insert" and "before_update" hooks could be used for encryption and the _init hook for decryption but is that going to mess up filters/search? Storing the keys within the actual hook files would also present a potential security issue?
Perhaps somebody is aware of a package that already exists out there that will integrate into Appgini generated hooks files without too much difficulty?
Any ideas/assistance would be appreciated. Thanks in advance.