Searching according to page permissions

You can set up your local index searches to filter out results for pages that users are not allowed to access.

For Portal Engine sites:

  1. Open the Pages application.
  2. Select the page containing the web part you use to get and display search results (Smart search dialog with results or Smart search results).
  3. Switch to the Design tab and configure the web part (double-click).
  4. Enable Check permissions in the Page filter category.
  5. Click Save & Close.

With the Check permissions property enabled, the search results display pages according to the read permissions of individual users.

For MVC sites, you need to adjust the code that performs the search. Set the CheckPermissions property to true for the used SearchParameters object. See Building a search interface for local indexes in MVC for more information.