SharePoint's search engine can remove particular search results from view by using what Microsoft call a "security trimmer".
A custom security trimmer is implemented as a .NET class that implements the ISecurityTrimmer interface, which provides for two methods: