Skip to main content
Version: 2.1.1-preview

CIS.M365.7.2.11 - Ensure the SharePoint default sharing link permission is set

Overview​

7.2.11 (L1) Ensure the SharePoint default sharing link permission is set

This setting configures the permission that is selected by default for sharing link from a SharePoint site.

The recommended state is View.

Rationale​

Setting the view permission as the default ensures that users must deliberately select the edit permission when sharing a link. This approach reduces the risk of unintentionally granting edit privileges to a resource that only requires read access, supporting the principle of least privilege.

Impact​

Not applicable.

Remediation​

  1. Navigate to SharePoint admin center
  2. Click to expand Policies > Sharing.
  3. Scroll to File and folder links.
  4. Ensure Choose the permission that's selected by default for sharing links is set to View.

PowerShell​

  1. Connect to SharePoint Online using Connect-SPOService
  2. Run the following command:
Set-SPOTenant -DefaultLinkPermission View

Default Value: DefaultLinkPermission : Edit

Test Metadata​

FieldValue
Test IDCIS.M365.7.2.11
SeverityUnknown
SuiteCIS
CategorySharePoint Online
PowerShell testTest-MtCisSpoDefaultSharingLinkPermission
TagsCIS, CIS E3, CIS E3 Level 1, CIS E5, CIS E5 Level 1, CIS M365 v6.0.1, CIS.M365.7.2.11, L1, OneDrive, SharePoint Online

Source​

  • Pester test: tests/cis/Test-MtCisSpoDefaultSharingLinkPermission.Tests.ps1
  • PowerShell source: powershell/public/cis/Test-MtCisSpoDefaultSharingLinkPermission.ps1