Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
am421
Partner - Contributor
Partner - Contributor

Security

How to Apply Row level security in Qlik?

Labels (1)
2 Replies
Prashant_N
Contributor III
Contributor III

TauseefKhan
Creator III
Creator III

Hi @am421,

To apply row-level security in Qlik, you can use the Section Access feature. It's a powerful and flexible way to control data visibility at the row level within your apps.

Example:

SECTION ACCESS;
LOAD * INLINE [
ACCESS, USERID, REDUCTION_FIELD
USER, USER_A, DATA_A
USER, USER_B, DATA_B
ADMIN, ADMIN, *
];

SECTION APPLICATION;
// Your data load script continues here

In this script:
• ACCESS specifies the level of access (USER or ADMIN).

• USERID is the identifier for the user.

• REDUCTION_FIELD is the field used for data reduction, allowing users to see only their authorized data.

• An asterisk * in the ADMIN row under REDUCTION_FIELD means the admin has access to all data.

For more details you can refer:
https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage...