What this check looks at
Where "Anyone" links are allowed, checks that links to files and to folders let people view only.
Where "Anyone" links are allowed, FileAnonymousLinkType and FolderAnonymousLinkType decide whether such links to files, and to folders, can edit. Microsoft ships both as edit.
The check reads the setting from the SharePoint admin API as ConfigCheckup Automation, only where the client granted it Sites.FullControl.All, and only ever reads it. It passes when Anyone links are not allowed, or when links to both files and folders are view only, and fails for each that can edit.
Why it matters
An "Anyone" link that can edit lets whoever holds it change, delete or replace the file with no sign-in, and an editable folder link lets them upload too: a way in for malware, and no record of who did it.
An editable Anyone link lets whoever holds it change or delete the file with no sign-in, and an editable folder link lets them upload too: a way in for malware, with no record of who it was.
CISA SCuBA MS.SHAREPOINT.3.2v1 asks for Anyone links to be view only. Collecting files from outside is better done with a file request or a signed-in guest.
How to fix it
Where: SharePoint admin centre → Policies → Sharing
Before you start
- Ask which teams collect files from outside through editable folder links (a file request is the safer way to do that).
- Tell users what is changing and when, with a contact for problems.
Step by step
- Find who collects files through Anyone links. Ask which teams receive files from outside through editable folder links, and move them to file requests or signed-in guests before the change.
- Tell people what changes. Tell staff, and site owners who share a lot with partners, that "Anyone" links will let people view only, the date it changes and who to ask about it.
- Limit Anyone links to view. In the SharePoint admin centre (https://<tenant>-admin.sharepoint.com), go to Policies > Sharing, and under "Choose expiration and permissions options for Anyone links" set Files and Folders to View. Select Save. Or: Set-SPOTenant -FileAnonymousLinkType View -FolderAnonymousLinkType View.
- Check it took effect. Get-SPOTenant | Select-Object FileAnonymousLinkType, FolderAnonymousLinkType shows View for both, and the next assessment passes.
With PowerShell
Connect-SPOService -Url https://<tenant>-admin.sharepoint.com Set-SPOTenant -FileAnonymousLinkType View -FolderAnonymousLinkType View
What users will notice
"Anyone" links let people view only; collecting files from outside needs a file request or a signed-in guest.
How to confirm it worked
Get-SPOTenant | Select-Object FileAnonymousLinkType, FolderAnonymousLinkType shows View for both.
Frameworks and controls
This check maps to controls in 12 frameworks. Passing it is evidence that the setting is in place, not a certification against any of them.
| Framework | Control |
|---|---|
| NCSC CAF | B3.c Stored data |
| DSPT | Standard 1: Personal confidential data |
| NIS2 | Art. 21(2)(i) Access control and asset management |
| Zero Trust | Data |
| SOC 2 | CC6.7 Restricting the transmission, movement and removal of information |
| NIST SP 800-171 | 3.1.22 Control CUI posted or processed on publicly accessible systems |
| CMMC Level 2 | AC.L2-3.1.22 Control Public Information |
| ISO 27001:2022 | A.5.14 Information transferA.5.15 Access control |
| CISA SCuBA | MS.SHAREPOINT.3.2v1 Link permissions limited to view only |
| CIS Controls v8.1 | 3.3 Configure data access control lists (IG1) |
| NIST CSF 2.0 | PR.DS-01: The confidentiality, integrity, and availability of data-at-rest are protected |
| NCSC 10 Steps | Data security |
The framework mappings were last checked against the published standards in October 2026.
Further reading
- Manage sharing settings for SharePoint and OneDrive (Microsoft Learn)
- CISA SCuBA SharePoint Online and OneDrive baseline (github.com)