Below you will find pages that utilize the taxonomy term “Sharing Settings”
posts
SharePoint File/Folder hero link sharing settings update
Control who can share an item By default, users with edit access can also share a file or folder in the modern sharing experience. The Members can share setting controls this behavior for an individual item.
You can change this setting on an individual file or folder, giving you more granular control than the site-level setting used to restrict member sharing in the classic sharing experience.
Set the per-file sharing settings with PnP PowerShell The script below connects to one site and processes every item in its non-hidden document libraries, excluding the system libraries listed in the script.