Share via


PdfLocalFileAccessAllowedForDomains

Allow specified sites to access file:// URLs in the PDF Viewer

Supported versions

  • Windows: ≥ 147
  • macOS: ≥ 147
  • Android: Not supported
  • iOS: Not supported

Description

Controls which sites can access file:// URLs in the PDF Viewer.

If you enable this policy, sites in the list can access file:// URLs in the PDF Viewer.

If you disable or don't configure this policy, sites cannot access file:// URLs in the PDF Viewer.

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • List of strings

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: PdfLocalFileAccessAllowedForDomains
  • GP name: Allow specified sites to access file:// URLs in the PDF Viewer
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Content settings
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

example.com
contoso.com

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\PdfLocalFileAccessAllowedForDomains
  • Path (Recommended): N/A
  • Value name: 1, 2, 3, ...
  • Value type: List of REG_SZ

Example registry value

SOFTWARE\Policies\Microsoft\Edge\PdfLocalFileAccessAllowedForDomains\1 =

example.com

SOFTWARE\Policies\Microsoft\Edge\PdfLocalFileAccessAllowedForDomains\2 =

contoso.com

Mac information and settings

  • Preference Key name: PdfLocalFileAccessAllowedForDomains
  • Example value:
<array>
  <string>example.com</string>
  <string>contoso.com</string>
</array>

See also