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:
- Open the Pages application.
- Select the page containing the web part you use to get and display search results (Smart search dialog with results or Smart search results).
- Switch to the Design tab and configure the web part (double-click).
- Enable Check permissions in the Page filter category.
- 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.