I found that security trimming in search result behavior differently in sharepoint 2013 with 2010, In 2010, search result automatically trimmed if current user has no permission to read the document, while in 2013, all the result showed up even if user has no privilege for view, and when click on the document, sharepoint redirect you to a page said "Access Denied".
I want to know how to make 2013 behavior the same as 2010 in security trimming, any ideas about this? thank you smart guys in advance, any idea will be appreciated, Thanks.
Yes effectively the results show up even if the user hasn't access but if you try to access the document you will be informed that you haven't access. Restart a full Crawl on your searched content and the result will change to represent what the user has access at the crawling time. ACL(s) will be recalculated.