Forum Discussion
Greg Zygadlo
Jun 14, 2018Brass Contributor
Retricting Users from seeing a document library
I'm working on setting up a SharePoint site for one of our groups. There are going to be two document libraries on this site. The main one I want everyone to be able to see and the second one I only want about 5-6 users to see.
I thought I could target the document libraries to an audience.
Is this possible?
- Greg ZygadloBrass Contributor
Thanks for all the suggestions. I need to just get with the group and present the different options to see what they want to do.
- Dean_GrossSilver Contributor
the easiest way is to add another custom SP Group and grant it permissions to the 2nd library (remove the default members group perms from this library)
- Fred YSteel Contributor
In SharePoint Online, audience targeting option is not available in the web part settings. In earlier versions, this feature only hides the web part but doesn't necessarily restrict access to the library.
As mentioned in the previous reply, you can create a unique permission (go to Advanced settings under Site permissions or Shared With option) for the limited access library so that it doesn't display for users without access.
- spucelik
Microsoft
To clarify...audience targeting is not an option on modern pages, if you create a standard Web Part Page in O365 it will contain the target audience option.
- Deleted
Targeting content based on audience is not available Currently but they made an announcement about it @ SharePoint Conference.
- spucelik
Microsoft
Greg...you're best option is to apply security to each library with 2 groups and respective user members. If you want to display both libraries on a web part page, then you can use Audience targeting on the library with 5-6 users so only they see that library on the page.