Forum Discussion
ian-mcguinness
Jan 13, 2026Copper Contributor
Restrict shareing files in a document library to members of that document library
Hi, I have a site with multiple document libraries, lets call them Accounts, Managers and General. Each document library has removed inheritance and the Members and Visitors groups removed and a se...
DaveMehr365
Jan 15, 2026MVP
it is not possible to restrict sharing links to files to only users that already have access to the document library by default.
Here are a lot of documentation, but i think not what you looking for:
https://learn.microsoft.com/sharepoint/turn-external-sharing-on-or-off?WT.mc_id=DX-MVP-5004845
You can also set the Site sharing settings, but not restricted to existing users:
As an alternative, you can try to use a flow, checks whether the user is authorized or not.
Best, Dave