I have found that the search engines are indexing some

I have found that the search engines are indexing some of the media files attached to our password protected areas. I have dug through all of the documentation and I can't figure out how to hide specific media files or alternately to exclude all media files from the search engines. Thanks! Sharon