You can rename your files in .php if you are using .html then encode all the code but a person who wants to decode it and knows the method of encryption can decrypt your code. there is a php crypt algorithm that uses a key to decrypt and to encrypt. anyway you can use ioncube to encode your files. remember that .html source can always be seen from browser.