1 minute read
Hiding a Document library from user in the browser is straightforward using SharePoint Designer (SPD) and there is a single setting to accomplish it.
First, open the site with SPD. Once the site is open, you will see the list of objects contained within the site down the left side of the screen. By default, you will see the properties of the site itself.
Next, click on the Lists and Libraries container. This will show you all of the Lists and Libraries contained in the site in the main pane of SPD.
In this case, we want to change the ScriptCSS Document Library so that users cannot see it in the browser. Note that this will apply to all users, though the Site Collection Administrator(s) will still be able to see the library.
There are two useful settings for the list that you can set on the Properties page under Settings / General Settings. Each is controlled with a checkbox.
- Display this list on the Quick Launch – This determines whether the list is displayed on the Quick Launch, which is the persistent set of links down the left side of the screen on most SharePoint sites.
- Hide from browser – This hides the list in the All Site Content page (_layouts/viewlsts.aspx).
After you change the settings you choose, be sure to save the list settings by clicking on the save icon in the upper left of SharePoint Designer.
I got a question in the comments asking how to do this in SharePoint 2007. If you Right-Click on the list or library in SharePoint Designer 2007, and choose Properties, then click on the Setting tab, you’ll get a dialog that looks something like this:
As you can see, there is a setting for “Hide from browsers”, which does the same thing as the “Hide from browser” setting in SharePoint Designer 2010. There’s no way to toggle the visibility in the Quick Launch here, though. For that you can simply change the setting in the List or Library Settings.