Product DocsMenu

Enabling Anonymous Access to a .NET Search Interface

The Coveo Platform search interfaces are typically deployed within an enterprise firewall. You can also deploy Coveo .NET search interfaces on public facing websites and allow anonymous users to view search results.

Example: When Coveo is integrated in a public Sitecore website, anonymous users accessing the website should be able to see search results for publicly available content.

To configure a public facing .NET search interface

  1. When your Coveo index contains non public sources, ensure that the scope of the .NET search interfaces that are publicly exposed includes only sources with content that should appear in public search results.

    When using the out-of-the-box Coveo .NET search interfaces, you can configure the scope from the .NET Interface Editor (see Configuring the Scope of a .NET Search Interface).

  2. In IIS on the web server:

    1. Select the Coveo search website (by default Coveo .NET Front-End 12).

    2. Click Authentication and then set:

      • Anonymous Authentication to Enabled

      • Windows Authentication to Disabled

  3. Reset IIS to make the changes take effect (see Resetting IIS).

    Note: All websites on the server will be temporarily unavailable.

  4. Access the Coveo Administration Tool (see Opening the Administration Tool).

  5. In the Administration tool, for each source included in your public facing .NET search interface:

    1. In the Permissions page under Custom Permissions (see Modifying Source Security Permissions):

      • Add the nt authority\anonymous logon Active Directory group to the Allowed Users list.

        Note: When you also want authenticated users to also see all anonymous search results, you must also add the user that runs the application of the website in the permission of the source.

      • Remove the everyone Active Directory group from the Allowed Users list.

    2. Click Rebuild to rebuild the source.

People who viewed this topic also viewed