I have certain sections of my site hidden behind an FEU/customcontent setup, and this is all working fine. Where I'm getting a little stuck is in limiting results on the non-logged in side of the site's Search function. When I search for a term that is in the 'hidden' pages, it shows up in results. If I click a result, it does indeed give me a 'you must be logged in' error, but I would prefer if these results did not appear at all.
I could just disable indexing for these pages, but then I would lose ability for logged in users to search their protected pages.
I note than the Search module has a 'modules' parameter, but I cannot find any info on what or how this works or might do what I need. I also note the customContent module has ability to pass results through other modules, but again I'm unsure if this is what I need.
What I would like: the search function will ignore pages that are using custom content module, but will include them if client is logged in.
Can anyone help?
Thanks

lampsie