Skip to main content Skip to complementary content
Close announcements banner

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 to display the overview.
  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 from template drop-down list.

    Information noteChanging the Create 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 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.

  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 condtions have been grouped you can ungroup them by clicking Ungroup. The default operand between conditions is OR. You can change this in the operand drop-down. Multiple conditions are grouped so that OR is superior to AND.
    Information noteFor some resources (for example, environment.browser), you need to select the checkbox Extended security environment in the proxy settings.
  6. Select the applicable Actions checkboxes 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 noteYou must click Apply to save your changes. Apply is disabled if a mandatory field is empty.
  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 – let us know how we can improve!