Returning Restricted Files Using the SearchDataSource Control

Vote:
 

Hi,

I have a SearchDataCource control that returns both pages and files. I have a large number of restriced files which are brought back in the search results if the user has the correct permissions to view them.

My question is, can these files be returned by default, even to anonymous users (who would then be prompted to log in if they followed the link to the file from the results)?

Thanks,

Robert

#56509
Jan 24, 2012 12:08
Vote:
 

You have a setting called "AccessLevel" on the SearchDataSource that you can set to "NoAccess", but I guess that would return pages that the user don't have access to as well.

#56511
Jan 24, 2012 12:14
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.