Skip to main content Skip to complementary content

Creating security rules

You can create security rules.

Warning noteIf you define a rule without specifying at least one Resource or User condition, your rule will apply to all resources and/or users as indicated by (ALL) next to the condition heading.

Do the following:

  1. Select Security rules on the QMC start page or from the StartS drop-down menu.
  2. Click PCreate new in the action bar.

    This opens the Security rule edit page.

  3. In the Identification view, select the type of resource you want to create a rule for from the Create rule from template drop-down list.

    Information noteChanging the Create rule from template selection automatically clears all Actions, and changes the Advanced > Conditions text box accordingly.
  4. For example, if you create an App access rule rule and set the resource condition Name to MyApp, it means that the rule applies to the app named MyApp. However, setting Name to MyApp* will apply the rule to all apps with names beginning with MyApp.

    Information noteWhen using a wildcard (*), you must use the "like" operator, instead of "=".
  5. In the Basic section, click P to add more conditions (optional).

     

    When using multiple conditions, you can group two conditions by clicking Group. After the conditions have been grouped, you can ungroup them by clicking Ungroup. The default operator between conditions is OR. You can change this in the operator drop-down list. Multiple conditions are grouped so that OR is superior to AND.
    Information noteFor some resources (for example, environment.browser), you need to select Extended security environment in the proxy settings.
  6. Select the applicable Actions to assign access rights to the user for the resource.

  7. Select a user condition that specifies which users the rule will apply to.

    Warning noteEnvironment data received from external calls, for example type of OS or browser, is not secured by the Qlik Sense system.
  8. In the Identification property, give the security rule a name in the Name text box.

  9. Click Disabled if you do not want to enable the rule at this time.
  10. In the Advanced view, select where the rule should be applied from the Context drop-down list.

  11. Click the Preview tab to view the access rights that your rule will create and the users they apply to.

    See: Previewing how security rules affect user privileges

    Information noteClick Apply to save your changes. If a mandatory field is empty, Apply is disabled.
  12. Click Apply in the action bar to create and save the rule or click Cancel to discard changes.

    Successfully added is displayed at the bottom of the page.

You have now created a new security rule.

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 – please let us know!