I have basic knowledge with Apache servers,Currently my homepage is obtained through a script, example the contents of my index.htm page is basically pointing to another javascript file and in that js file it points to the actual page for viewing. All this works good-problem is if the user views source they can get the name of the js file and enter [
mysite.com...] and it will download the file and then they will know my actual page-I do not want this. Is there a way to deny access to the js file and yet have the server read it in my index.htm page. I have tried .htaccess using deny from all and that stops the outside access and also causes my homepage not to display. I would like to have my page display and block access to the js file from the end user, is this possable? I have tried:
<FilesMatch "^\.js">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
in the httpd.conf file and I get the same result.