I am wondering is there any (programming) way to block that any search engine indexes the content of a website.
Create a robots.txt file for your site. For more info - see this link.