chromium/components/policy/resources/templates/policy_definitions/Miscellaneous/DownloadRestrictions.yaml

caption: Allow download restrictions
desc: |-
  Setting the policy means users can't bypass download security decisions.

        There are many types of download warnings within Chrome, which roughly break down into these categories (learn more about Safe Browsing verdicts https://support.google.com/chrome/?p=ib_download_blocked):

        * Malicious, as flagged by the Safe Browsing server
        * Uncommon or unwanted, as flagged by the Safe Browsing server
        * A dangerous file type (e.g. all SWF downloads and many EXE downloads)

        Setting the policy blocks different subsets of these, depending on it's value:

        0: No special restrictions. Default.

        1: Blocks malicious files flagged by the Safe Browsing server AND Blocks all dangerous file types. Only recommended for OUs/browsers/users that have a high tolerance for False Positives.

        2: Blocks malicious files flagged by the Safe Browsing server AND Blocks uncommon or unwanted files flagged by the Safe Browsing server AND Blocks all dangerous file types. Only recommended for OUs/browsers/users that have a high tolerance for False Positives.

        3: Blocks all downloads. Not recommended, except for special use cases.

        4: Blocks malicious files flagged by the Safe Browsing server, does not block dangerous file types. Recommended.

        Note: These restrictions apply to downloads triggered from webpage content, as well as the Download link... menu option. They don't apply to the download of the currently displayed page or to saving as PDF from the printing options. Read more about Safe Browsing ( https://developers.google.com/safe-browsing ).
example_value: 4
features:
  can_be_recommended: true
  dynamic_refresh: true
  per_profile: true
future_on:
- fuchsia
items:
- caption: No special restrictions. Default.
  name: DefaultDownloadSecurity
  value: 0
- caption: Block malicious downloads and dangerous file types.
  name: BlockDangerousDownloads
  value: 1
- caption: Block malicious downloads, uncommon or unwanted downloads and dangerous
    file types.
  name: BlockPotentiallyDangerousDownloads
  value: 2
- caption: Block all downloads.
  name: BlockAllDownloads
  value: 3
- caption: Block malicious downloads. Recommended.
  name: BlockMaliciousDownloads
  value: 4
label: Download restrictions
owners:
- [email protected]
- [email protected]
schema:
  enum:
  - 0
  - 1
  - 2
  - 3
  - 4
  type: integer
supported_on:
- chrome.*:61-
- chrome_os:61-
tags:
- local-data-access
type: int-enum