Information
This policy setting allows the blocking of macros from running in Office files that come from the internet.
By enabling this policy setting, macros are blocked from running, even if 'Enable all macros' is selected in the Macro Settings section of the Trust Center. Users will receive a notification that macros are blocked from running.
The exceptions when macros will be allowed to run are:
- The Office file is saved to a Trusted Location.
- The Office file was previously trusted by the user.
- Macros are digitally signed and the matching Trusted Publisher certificate is installed on the device.
The recommended state for this setting is: Enabled.
Note: This setting will apply to documents downloaded from Internet websites, consumer storage providers (OneDrive, Google Drive, and Dropbox) or from public shares on the Internet (file-sharing sites), and attachments to emails that were received from outside the Exchange organization.
Windows marks files downloaded from the internet using an alternate NTFS data stream. Files from untrusted sources can contain malicious payloads embedded in macros that may compromise the system on which they are run. Blocking macros in files marked as originating from the internet helps prevent known, unknown, and obfuscated code from being executed accidentally by the end user.
Solution
To establish the recommended configuration via GP, set the following UI path to Enabled.
User Configuration\Administrative Templates\Microsoft Access 2016\Application Settings\Security\Trust Center\Block macros from running in Office files from the internet
Impact:
This enforces the default behavior and should not cause additional impact.