ALL >> Business >> View Article
A Right Approach For Building Sap Hana Privilege Based Roles

SAP HANA Privilege-based Roles – A deep dive
Designing, configuring, and implementing SAP Security is a complex and resource-intensive task. Hence, companies should identify the right approach before building authorizations. This is also important when it comes to SAP HANA privilege-based roles.
I have personally experienced and helped a few organizations with the design of the role definition approach. From this experience, I can say that identifying the proper security requirements during the system build helps in avoiding the need for redesigning at a later stage.
Before we move on, please note that the SAP HANA platform has its own role model, which is more complex than the SAP NetWeaver ABAP authorization model. SAP HANA has:
Analytic Privileges that will restrict user authorization on data
System Privileges that will control the authorization on administrative tasks
Object Privileges that allows various authorizations such as SELECT, DELETE, EXECUTE, etc., on database objects
Package Privileges are used for providing read/write authorization on repositories
Application ...
... Privileges are used for managing HANA applications, mostly XS Engine based
These privileges can be assigned to the users directly from the HANA Studio, or Web IDE if the administrator has a USER ADMIN privilege assigned to him. However, before designing the authorization approach, I would also like to highlight a few points that should be considered:
– Assigning privileges directly is not a recommended approach as:
It increases the maintenance activity
Makes the authorization management weird, and you will have no clue of who has what
Unnecessary access has to be provided to the administrators due to the GRANT authorization limitation.
Issues with ownership as objects are owned by the creator and not by the repository owner.
So, What Is The Recommended Approach?
Simplify
The mantra for any successful role design is to simplify. Always keep the authorization structure easy. This makes the maintenance hassle-free and provides complete visibility of the authorizations at any given point in time.
Always Create the Roles as Repository (Design-Time) Objects
You might ask me here why SAP has provided the option of creating the roles as Catalog objects. Let me explain this – every role that we are assigning to the users should be a part of the HANA Catalog. Unless the run-time version is available, you can’t assign it to the users. When a role is created as a run-time object, the owner of the role is the ‘Creator’ who can decide which user should have authorization to it. Further, when the creator is dropped, the role will be deleted and the assignments will be revoked automatically.
Hence, it is recommended to create the role as a design-time object. When a design-time role is activated, the run-time version is automatically created with the owner as “_SYS_REPO” – the global activation guy who owns the HANA repository. The role creation and assignment activities are de-coupled with this approach and the user with “GRANT_ACTIVATED_ROLE” and “REVOKE_ACTIVATED_ROLE” privileges can take care of the assignment/revoking of roles without being an owner of the actual role.
Keeping this in mind, the industry and SMEs/experts always recommend assigning the privileges through the roles that are created as database artifacts i.e. repository or design-time roles that will have the .hdbrole extension.
Have a Proper Role Naming Convention
A proper role naming convention will help you classify the roles correctly and also easily segregate and identify the criticality while assigning them to the users. The roles should be intuitive not only for the ease of security experts but also to enable business approvers and reviewers to know the role kind and type quickly before taking a go or no-go decision.
Here is an example:
Keep the Role Assignment Simple By Using The ‘Extends’ Option
SAP HANA has a great option where you can call other roles into the current role instead of assigning the same authorizations. The ‘extends’ option can be used to group the associated roles that are required for a user to perform any specific activity. For example, a role that contains authorizations of a specific package can have the relevant object privileges and analytic privileges in it.
Don’t give too much
Last but not the least, limit the authorization of every user. Do you remember the tagline of Spiderman movie? It says, “After greater power, comes greater responsibility,” which is 100% right when it comes to authorizations. Not just HANA or S/4 HANA, this is applicable to all the applications or databases. Remember, if you are giving the user a greater power, he should know that he has a greater responsibility too. Any access that is not relevant or not required should not be given, as it can be easily misused. Identify what is required for your user and limit the authorization.
Read more: https://togglenow.com/blog/sap-hana-privilege-based-roles/
#SAPSoDAnalysis
#SegregationofDutiesinSAP
#SAPSecurityandCompliance
#SoDViolationsinSAP
#sapsegregationofdutiesmatrix
#SAPRiskAssessment
#sapsodanalysistool
#sapsodconflicts
#sapsegregationofduties
#SAPGovernanceSolutions
#SoDRiskManagementinSAP
#sapsodmatrix
#sapsodconflictmatrix
#sapsodanalyzer
#sapsodtool
Add Comment
Business Articles
1. Wholesale Jewelry Manufacturers – ZawaraatAuthor: Nischay Jain
2. Unlocking The Magic Of Dubai: Why Choosing The Right Travel Agency Makes All The Difference
Author: fcatravels
3. Savor The Streets: The Ultimate Guide To Crafting Irresistible Chicken Street Tacos
Author: tacosloscallejeros
4. Savor The Flavor: Top 10 Burger Joints You Must Try Today
Author: hippoburgers
5. Navigating The Market: Top Locations For New Build Houses Available This Year
Author: a2zbuilds
6. Blend It Your Way: Top 10 Must-try Smoothie Shops Near You
Author: frutinieves
7. The Ultimate Guide To Finding Top Recycling Services In Your Area
Author: denverscrapmetal
8. The Ultimate Guide To Finding Reliable Scrap Metal Services Near You
Author: houstonscrapmetal
9. Tangible Assets Investment With Otto Ai: Boost Business Value Using Physical Assets
Author: Otto AI
10. Tourism Seo Company: Elevating Online Visibility And Driving Growth In The Travel Industry
Author: neetu jaiswal
11. Ecommerce Web Design In India: Building Successful Online Stores For The Future
Author: neetu jaiswal
12. Web Design Agency: Crafting Digital Experiences That Drive Business Success
Author: neetu jaiswal
13. Ecommerce Seo Agency: Unlocking The Power Of Seo For Online Retail Growth
Author: neetu jaiswal
14. Real Estate Web Design Agency: Building Digital Presence For The Property Market
Author: neetu jaiswal
15. Social Media Marketing In Mumbai: A Key To Digital Growth
Author: neetu jaiswal