I am not even sure if this is possible but I decided try it out anyways.
I have a certain javascript file that I want to let me display the contents of on their website. I am giving them this code so that they can easily add the contents:
Code:
<script type="text/javascript" src="http://www.website.com/thefile.js"></script>
However, I don't want people to be able to actually go directly to http://www.website.com/thefile.js and get codes that are in the file. Is it possible for me to protect myself against this? I want people to be able to display the information on their website, but not be able to see the javascript coding.
Please and thank you 
|