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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
dobak
Partner - Contributor III
Partner - Contributor III

Restrict "Export Data" on some sheets via sheet name prefix = noexport_

hi i tried to restrict export data on a sheet by modifying the default security rule ExportAppData this way:

 

resource.HasPrivilege("read") and !user.IsAnonymous() and !(resource.name like "noexport_*")

 

dobak_0-1701348951700.png

Created 2 sheets: this one you can export, noexport_sheet

But i am still able to right click on the sheet objects and export data on both of the sheets.

 

What adjustments of my security rule would you propose?

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

Looking at that thread, they ended up using an app-level rule, not a sheet level one.

This may not be up to date, but at least as of 2021, there was no option to use it based on a sheet (the link includes an explanation):

https://community.qlik.com/t5/Deployment-Management/Qlik-Sense-security-rule-for-Exporting-data/td-p...

 

View solution in original post

4 Replies
Or
MVP
MVP

I believe the "resource" here is the object, not the sheet? You don't export data from a sheet.

dobak
Partner - Contributor III
Partner - Contributor III
Author

i tested it on a names KPI object and it also did not work. only when giving the application a "nonexport_" prefix it started to block exports. but for all sheets and objects inside.

 

i am refering to this article which i got from qlik support today as an answer on how to restrict export of data on parts of applications: https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-restrict-export-option-in-sheet-level/td-p/18...

 

i am not sure if that answer was right but it was marked as right...

Or
MVP
MVP

Looking at that thread, they ended up using an app-level rule, not a sheet level one.

This may not be up to date, but at least as of 2021, there was no option to use it based on a sheet (the link includes an explanation):

https://community.qlik.com/t5/Deployment-Management/Qlik-Sense-security-rule-for-Exporting-data/td-p...

 

dobak
Partner - Contributor III
Partner - Contributor III
Author

yes it seems like there is only a way to do this on the app level. i leave this one open for a few days lets see if there is someone who would oppose. thank you.