Skip to main content
Version: 2.1.1-preview

DPDP.Sec.08.10 - Ensure external guests cannot share unowned SharePoint documents

Overview

7.2.5 (L2) Ensure that SharePoint guest users cannot share items they don't own

SharePoint gives users the ability to share files, folders, and site collections. Internal users can share with external collaborators, and with the right permissions could share to other external parties.

Rationale

Sharing and collaboration are key; however, file, folder, or site collection owners should have the authority over what external users get shared with to prevent unauthorized disclosures of information.

Impact

The impact associated with this change is highly dependent upon current practices. If users do not regularly share with external parties, then minimal impact is likely. However, if users do regularly share with guests/externally, minimum impacts could occur as those external users will be unable to 're-share' content.

Remediation

  1. Navigate to SharePoint admin center
  2. Click to expand Policies > Sharing.
  3. Scroll to and expand More external sharing settings., uncheck Allow guests to share items they don't own.
  4. Click Save.

PowerShell

  1. Connect to SharePoint Online using Connect-SPOService
  2. Run the following command:
Set-SPOTenant -PreventExternalUsersFromResharing $True

Default Value: Checked (False)

Test Metadata

FieldValue
Test IDDPDP.Sec.08.10
SeverityUnknown
SuiteDPDP Act 2023
CategoryGeneral
PowerShell testTest-MtCisSpoGuestCannotShareUnownedItem
TagsDPDP, DPDP.Sec.06, DPDP.Sec.08, DPDP.Sec.08.10, DPDP2023

Source

  • Pester test: tests/dpdp/Test-MtDpdp-DataSharingAndResidency.Tests.ps1
  • PowerShell source: powershell/public/cis/Test-MtCisSpoGuestCannotShareUnownedItem.ps1