Hiding Certain download products from search engines

i need to hide a certain thing from being searched by search engines the actual download links when i create them this way the search engine will not index the file how do i accomplish this task anyone thank you for the help