Maybe you could override the search result template at the user site and filter out "illegal" search options?
In other words: override design/standard/templates/content/advancedsearch.tpl with a template that does not include searchresult.tpl if illegal options are set.
That's not as easy as it seems.. I don't only have to prevent sensitive information to be displayed, I also need it not to be revealed.
Let's say someone searches for John Hansen, and gets one hit. Then they can be sure that John Hansen is registered.
So, if I am to do this in simple template code, I need to know what attribute the search matched, and do the elimination on that. But that doesn't sound like the easy way out either.. ;)
But thanks for the input, though :)
You must be logged in to post messages in this topic!