Control access to actions in apps

Supported add-ons for this feature: Chrome Enterprise Premium. Compare add-ons

When you create Context-Aware Access policies for apps, you usually give access to everything in the app or nothing at all. Sometimes, certain actions in an app are more sensitive than others. In Google Drive, downloading a document might be more sensitive than viewing it.

As an administrator, you can enhance security for specific actions by combining Context-Aware Access context conditions with data protection rules. For example, you can restrict downloading files in Drive on personal or Bring Your Own Device (BYOD) devices. You can control how your organization's data is accessed based on the user and their device.

Note: Context conditions were previously referred to as access levels in the Google Admin console.

Example: Block download of Drive files on personal devices

Step 1: Create the context condition

  1. In the Google Admin console, go to Menu and then Security and then Access and data control and then Context-Aware Access.

    Requires the Data security access level and rule management privileges and the Admin API groups and users read privileges.

  2. In the Policies section, click View all policies.
  3. At the top, click the Down arrow and then Create context condition.
  4. Enter a name, such as BYOD devices, and a description for the new context condition.
  5. For Conditions, click Add Condition.
  6. Select Doesn't meet 1 or more attributes (OR).
  7. For Select attribute, select Device.
  8. For Select condition, select Company-owned.
  9. Click Create condition.

Step 2: Add the context condition to a data protection rule

  1. In the Google Admin console, go to Menu and then Security and then Access and data control and then Data protection.

    Requires having the View DLP rule and Manage DLP rule administrator privileges.

  2. Click Manage rules and then Add rule and then New rule.
  3. Click Name and enter a name for the rule and an optional description.
  4. In Apps, for Google Drive, check the Drive files box and click Continue.
  5. For Google Drive, click Action and select Disable download, print, and copy and then For commenters and viewers only.
  6. (Optional) To set an alert severity level and send alert notifications, choose the options.
  7. Click Continue.
  8. For Scope, choose an option:
    • To apply to all users in your organization, select All in your organization.
    • To apply to specific organizational units or groups, select Organizational units and/or groups and add or exclude them as needed.
  9. Click Continue.
  10. For Content type to scan, choose All content.
  11. For What to scan for, choose a DLP scan type.
  12. In the Context conditions section, select Select an access level and then the access level created earlier, such as BYOD devices. The rule is applied when the conditions in the access level are met. So, in this example, the access level must be True for BYOD devices.
  13. Click Continue.
  14. For Google Drive, click Action and select Disable download, print, and copy and then For commenters and viewers only.
  15. (Optional) To set an alert severity level and send alert notifications, choose the options.
  16. Click Continue.
  17. Review the rule details and for Rule status, select Active to immediately run the rule or Inactive to activate it later.
  18. Click Create.
Changes can take up to 24 hours but typically happen more quickly. Learn more

Combine DLP rules with Context-Aware Access conditions