Welcome to WebmasterWorld Guest from 174.129.127.214

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

protecting .js files with htaccess

protecting .js files with htaccess

   
10:26 pm on Jun 29, 2003 (gmt 0)

10+ Year Member



i have some code that uses <script src=whatever.js> in it and i want the code to be allowed to use the .js file, however i dont want people to be able to just type in the url and download the .js file... how do i block people from being able to access the code by directly typing in the url (i think it can be done with htaccess)?
4:28 am on Jul 4, 2003 (gmt 0)

10+ Year Member



and theres a way around *everything*
This 31 message thread spans 2 pages: 31