How to Restrict User Access to Specific Document Libraries in SharePoint

Last week, I was working on a Document Management Site for a client, and they had a very specific requirement: only selected users should be allowed to upload documents, then the approval workflow should run automatically, and once the document is approved, it should be moved to a separate library where visitors can view it.

However, Visitors were able to see all the libraries and lists on the site, which was not allowed. To restrict this, I give the library label permission to all the visitors; in this case, the visitor can not see the home page.

To solve this, the visitor was added to the site’s default Visitors group, and then unique permissions were applied only to the required document libraries. This way, the visitor could still access the Home page while being restricted to only the specific library they were allowed to view.

In this tutorial, I will show you exactly how to restrict user access to specific document libraries in SharePoint while still allowing them to view the Home page.

Restrict User Access to Specific Document Libraries in SharePoint

For this example, I’m using a simple SharePoint site structure so you can easily understand how the permissions work. The site contains:

  • Home Page – This is the main landing page of the site. All people should be able to view this page without any restrictions.
SharePoint settings showing how to restrict user access to a document library
  • Document Libraries:
    • Internal Documents Library – This library is only for internal team members. Visitors should not be able to see or access anything inside this library.
    • Published Documents Library – This library will store all approved documents. Visitors should be able to view documents here after the approval workflow is completed.
  • SharePoint List:
    • Document Approval Tracker – This list is used to support the approval workflow. Only internal users should have access to this list, not visitors.

On this site, two people have access: Lidia Holloway (Owner) and Patti Fernandez (visitor). That means lidia can access all the lists and library, and Patti can see the home page and the Published Documents Library.

Now follow the steps below:

  1. From the Lidia account, open the SharePoint site and navigate to the Internal Documents Library. Once you’re inside the library, open the Library Settings, and then select Permissions for this document library.
SharePoint permissions page used to restrict users from certain libraries

This is where the access for this library will be managed separately from the rest of the site.

  1. On the Permissions page, select Stop Inheriting Permissions.
SharePoint Online interface showing library-level permission management

This will break the default permission inheritance from the site, allowing this library to have its own unique access settings.

  1. After that, scroll down to find the Visitors group. Select the checkbox next to it, and then click Remove User Permissions.
How to prevent users from accessing selected SharePoint document libraries

This will ensure that visitors no longer have access to the Internal Documents library.

Note:

If you ever want to give Visitors access again in the future, simply click Delete unique permissions under the Permissions section. This will restore the library’s original inherited permissions.

Restrict User Access to Specific SharePoint List

Just like document libraries, SharePoint lists also inherit permissions from the site by default. Therefore, if a visitor has access to the site, they can also view all lists unless we manually restrict their access.

In this example, the Document Approval Tracker list should only be visible to internal team members, not visitors. Since Patti Fernandez is a visitor, she should not have access to this list.

To restrict access to the list, follow the same steps as the document library:

  1. Open the Document Approval Tracker list while logged in as Lidia Holloway (Owner). Go to List Settings. Select Permissions for this list.
SharePoint site where user access is restricted for a document library
  1. Click Stop Inheriting Permissions to break permission inheritance from the site. Select the checkbox next to it and click Remove User Permissions.
SharePoint access control settings for specific libraries

Once permissions are updated, visitors will no longer see this list in the site navigation or access it directly.

Now that the permissions are updated for both the Internal Documents Library and the Document Approval Tracker list, let’s check the experience from the visitor’s side.

When Patti Fernandez (Visitor) logs in and opens the SharePoint site:

  • She can see the Home page without any issues.
  • She can access the Published Documents Library, where approved documents are stored.
How to Restrict User Access to Specific Document Libraries in SharePoint

She cannot access the Internal Documents Library; it does not appear in the navigation or site content.

SharePoint document library permissions page with unique permissions enabled

If she attempts to open it directly, she will receive an “Access Denied” message.

Breaking permission inheritance for a SharePoint library

This confirms that the visitor is restricted only to the content they are allowed to view, while still having access to the main site.

Moreover, you may like some more SharePoint tutorials:

Power Apps functions free pdf

30 Power Apps Functions

This free guide walks you through the 30 most-used Power Apps functions with real business examples, exact syntax, and results you can see.

Live Webinar

Quiz App Using SharePoint Framework (SPFx)

Learn to built a complete Quiz Management solution that enables admins to create and manage quizzes, categories, questions, and settings with an easy automated setup process in SharePoint. It also includes an interactive quiz experience for users and a powerful dashboard to track participation, analyze results, and view detailed performance reports with charts and answer insights.

📅 2nd June 2026 – 10:00 AM EST | 7:30 PM IST

Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App