title: how to prevent downloading js files from my server
body: <p>is there a way i can prevent users from downloading my js files from the server ?</p>
  
  <p>i tried htaccess and it only gives 403 error on browsing the files but when i try to download them i easily can.</p>
  
  <pre><code>    RewriteEngine on
  
  RewriteCond %{HTTP_REFERER} !^http://cbox.ws/.*$      [NC]
  RewriteCond %{HTTP_REFERER} !^http://cbox.ws$      [NC]
  RewriteCond %{HTTP_REFERER} !^http://www.cbox.ws/.*$      [NC]
  RewriteCond %{HTTP_REFERER} !^http://www.cbox.ws$      [NC]
  RewriteCond %{HTTP_REFERER} !^http://www7.cbox.ws/.*$      [NC]
  RewriteCond %{HTTP_REFERER} !^http://www7.cbox.ws$      [NC]
  RewriteRule .*\.(js|css|php)$ - [F,NC]
  </code></pre>
  
  <p>Regards</p>