views:

16

answers:

0

I am looking to understand how enterprise search solutions tackle the issue of user-permissions.

My question is on displaying the search results for users. The naive approach would display the search results to the user, and then if the user clicks a document he is not authorized to see, he will fail to open it. However, it is even forbidden to display a document's title or excerpt if the user does not have permission to read it. So do the various enterprise earch engines:

    1) index each document together with its ACL?
    2) index all documents with no permission info, but check each link in every search result to see whether the querying user has permission to view this link?

Option #2 makes more sense to me, but also seems much slower than option #1.
Option #1 suffers from the need to constantly update the changes in permissions on the indexed documents.

I am looking to understand what is the common approach in the existing solutions in the market today. Is there a third option?

related questions