When was the last time you faced an issue of saving confidential documents in SharePoint? Did your colleagues find them? Oh yes, they did! How did this happen? Thanks to your SharePoint search engine that populated the results. To get rid of this, you need to prevent these files/documents from appearing in the search results, right? Here’s couple of ways to achieve this:
#1. Turning off search indexing at SharePoint Site Level
I don’t think any organization will turn off search indexing at the site level. Anyways, check this out:
Under Indexing Site Content area, select the “No” radio button as shown below:
N.B: By doing this activity, it doesn’t mean that your site cannot be accessed by others. For sure, users can gain access. It’s just that the search doesn’t crawl the site while doing the keyword based search.
Setting up unique permissions for document library
The SharePoint intranet portal is built based on user permissions on the site level, folder level and list levels. Here, you need to set unique permissions for a document library level. This avoids files appearing in the search for users who don't have access. Setting up the security at the site level is recommended; however, users may require defining their own unique permissions for confidential folders.
Let’s go ahead and setup unique permissions for a document library:
#2.Creating unique permissions for a document library:
#3. Removing Search Index at Document Library level.
This option can leave the security as it is, but avoids documents from being indexed in the SharePoint Search.
Let’s go ahead and revoke this feature:
Select OK to confirm.
N.B: By creating this configuration, it will help you prevent the folders/files to appear in the keyword search. However, users who have access to this document library will be able to navigate easily. This also works for SharePoint lists as well.