In SharePoint 2007 we had a custom security trimmer that implemented ISecurityTrimmer interface. We also had a custom webpart used for search. Now, using HttpContext we passed values from the webpart to security trimmer with additional info needed to trim
the results. It worked since trimmer was executed in the same w3wp process as webpart.
Now in SharePoint 2010, the architecture for ISecurityTrimmer2 has changed, as it's executed in search process (other w3wp) - not the webpart w3wp so it has no access to the HttpContext.
Question is: how to pass custom data, in form of the string, to a security trimmer when search is done from custom code in webart?
View Complete Post