Tuesday, October 14, 2008

Anonymous Search Results

there is one page that is absolutely necessary for everyone to access: osssearchresults.aspx. This page presents the list of search results.

By default, viewing this page requires a user to be authenticated to the server. This can create a problem when your site definition includes the basic search control as it will attempt to render all search results on this page with Anonymous access.

locate the following text at the top of the osssearchresults.aspx (inside the < % @ Page ... /> declaration) and remove it:Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase"This setting determines the inheritance of the page from the generic application page base class; however, it is not required for the page to function. Anonymous uers will be able to view the page without having to login and search results will continue to be security trimmed so users without proper permissions will be unable to view restricted items.

this is from The SharingPoint it works fine and here you are the link below.

http://sharingpoint.blogspot.com/2007/05/anonymous-search-results-in-wss-v3.html

No comments:

Post a Comment