By following the URL, anyone can see what is included in a JavaScript. Is there anyway to restrict this. I mean using password protected directories in .htaccess. If I do so, will that file also be "unavailable" to the HTML file which uses it? Is there a free way to encrypt JavaScript files? webgaya.
I'm gonna say this once : There is no way you can hide HTML/JS/Any client side scripting at all. Everything which is client side is going to the client , therefore -it's not restricted. But, u can try to do some tricks like "hot linking" with htaccess and encrypt it, anyway - it would by "hackable"