This question already has an answer here:

I am interested in knowing if someone can read the code for my smart contract after I deploy it to the live ethereum blockchain. If I make my functions private. The goal is to hide the code.

marked as duplicate by eth Sep 2 '17 at 6:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.