on 06-19-2017 8:00 PM
Hi Lars,
Can we implement HANA column level data encryption and decryption (by role) / HANA SQL?
Below is what I am trying to design: please review and advise. Thanks.
–Need the functionality to encrypt column level data in SLT during read/write operation and store encrypted value in HANA table column, decrypt data using HANA security roles for SAP ECC ( ISU and CRM) Data –
–Need the functionality to encrypt column level data within HANA during data transformation ( table to table ) and decrypt data back using HANA security roles for any HANA table.column
SAP HANA doesn't provide a functionality for column level encryption as of now (HANA2 SPS1).
What is available is a *column masking* option in the modelling environment.
Also, there had been modelling approaches to implement data access based on roles/privileges (you should find those, if you look around here on SCN).
Bottom line on that is: you will have to implement the data access/masking/scrambling scheme yourself in the system. There is no simple function, that would lock/unlock access to certain columns by role membership.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rama,
please check below link for encrypt and decrypt feature.
https://blogs.sap.com/2017/10/07/column-encryption-decryption-on-hana/
Regards,
Sathya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Guys. I have developed a custom solution for the encrypt and decrypt feature. FYI - from HANA 20 SP2, the procedure and functions source code can be encrypted. This is a big plus to application developers who build 3rd party applications on HANA platform.
I hope SAP soon releases standard encrypt and decrypt for table column data which can be customized by AP's and/or roles.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two remarks to this:
Thanks Nagaraj. I already read the above blogs but it does not help with decription. HASH function only encrypts one-way; we can not decrypt. I need to encrypt and decrypt back the value within HANA. That is my requirement.
Please let me know if you know a secure encrypt and decrypt function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rama,
pl, check below links and see if it can help
https://archive.sap.com/discussions/thread/3799696
https://archive.sap.com/discussions/thread/3510329
Regards,
Nagaraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.