My main goal is to protect some JavaScript and PHP source code... It is very important that this code is protected. I filed a provisional patent on the source code and it will be central to the uniqueness of my website. I am not as worried about protecting the PHP source code.
Would you suggest putting the source code in a directory above public_html so it would not be accessible by URL, linking to the code and obfuscating the <script src="../../myfile.js"> statement and the PHP include statements and the JavaScript code itself? Is there anything else you would suggest doing?
I realize I can't fully protect JavaScript code, but I want to make it difficult for someone to view.
Thanks,
John
|