How to install custom security trimmer?
1. Shared Services Administration: ShareServices1> Search Setting >Crawls Rules > Add or Edit Crawl Rule Path : https://*
Crawl Configuration : Include all items in this path
Specify Authentication : Use the default content access account
2. Shared Services Administration: ShareServices1> Search Setting > Content Sources
Local Office SharePoint Server Site : from the drop down select the “Start full crawl”
3. Open the command prompt window, run the below script
stsadm -o registersecuritytrimmer -ssp SharedServices1 -id 1 -typeName "CustomSecurityTrimmerAssembly.CustomSecurityTrimmerClass, CustomSecurityTrimmerSample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1207d00b9uytes323" -rulepath <https://*>
4. Reset IIS
5. Shared Services Administatrion: ShareServices1> Search Setting > Reset all Crawled Content
6. <follow the step 2 again>