Skip to main content Skip to complementary content

Security rules example: Qlik Sense Client-Managed Mobile offline access to apps by user attributes

In this example, you create offline access rights to a specific app by using the user attributes that are retrieved from ticket authentication or session and SAML attributes.

To enable using the user attributes you must first add the ticket via the proxy API.


  1. Select Security rules and click Arrow down Create new.

  2. The resource filter for the rule should be set to filter on a apps.

    In the Basic section, fill in the Resource filter field with text as per Security rule code.

  3. You now need to set the conditions to specify the users that the rule applies to.

    In the Advanced section, fill in the Conditions field with text as per Security rule code.

  4. Set the actions that the rule should provide.

    In the Basic section, select Actions as per Security rule code.

  5. Type a name for the security rule in the Name field.

  6. Click Apply.

You have now created access to a specific stream based on ticket authentication user attributes.

Security rule code

The following is the security rule code for this example, with explanatory comments.

Security rule
Field Code Comments
Resource filter App_*

Specifically filters on the resource type App.

Conditions resource.resourcetype="App_*" and (user.environment.<Attribute1>="<Value1a>")


The rule applies to apps.


The rule applies to the users where the attribute equals the value.

Actions read

Read actions will be granted provided that the conditions are met.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!