How to Hide a SharePoint Document Library

I had a recent question on not only how to remove permissions to a particular SharePoint Library, but hide it as well without deleting any content. This same steps can also hide any other list within SharePoint.

In essence SharePoint wants to not only want to share everything, but show you everything as well. This is just an inherent trait within SharePoint that makes it so great. If you need to not only remove permissions and hide the Document Library you will need to take the following steps.

As we can see below we have an existing document library called ‘HideMe’

To remove permissions open the ‘HideMe’ document library, then click ‘settings’, then ‘document library settings’.

Click on ‘Permissions for this document library’ under ‘Permissions and management’.

If this is a library that inherited permissions from the parent, then you will click on the following: Actions>Edit Permissions>OK.

This will break that inhereted behavior so now we can check the ‘user’ as pictured below and click on the following: Actions>Remove User Permissions

Now while this will remove permissions for this user to that particular library they will still be able to see it, but not get into the library.

We now return to the settings of the ‘HideME’ library. Click ‘Title, description, and navigation’ under ‘General Settings’. Select ‘No’ in the Navigation section and Save.

As we can see below this removes the ‘HideME’ library from the main site.

While it is not seen any more the library might come up in searches. You can break this for all users by selecting ‘Advanced settings’ under ‘General Settings’ and selecting ‘No’ in the ‘Search’ option, then ‘Save’.

-Javi

  • http://www.debt-loan-insure.com Finance Info

    I think this was a very interesting post thanks for writing it!

  • Missing Files!!!

    How do you view the document library after it has been hidden?

  • http://intensedebate.com/people/javib javib

    While the hidden document library will not show up in the quick launch the original library still has not been deleted. If you bookmarked the original location within the SharePoint site you can access via that method. If you didn't do this then you can click on 'View All Site Content' on top of the quick launch and it should be under the 'Document Libraries' section. This assumes you have permission to view/open the document library.

  • Guest

    My problem is Document Libraries on a web part page.

    I want authorized users to see the Document Library and un-authorized users to not even know it is there.

    Currently, the Document Library toolbar shows and there is a message below about “not authorized to access”. I want the web part to just be invisible for un-authorized users.

    Can do?

  • Mstpavan

    Click on Document Library –>Settings –> Document Library Settings –>Permission for this document library –>–>Select User group which you don’t to have access to and select –>Actions –> Remove User permissions…

    Let me know if this worked