GG-Xtreme
New Member
- Messages
- 430
- Reaction score
- 0
- Points
- 0
I have several custom external JavaScripts embedded in my site. The problem is, my poorly coded and probably easily exploited files are viewable and downloadable by getting the location from the page source. I've tried using a simple ASP trick, but the server doesn't seem to support it, because the files just display the ASP source as well as the JavaScript. Is there another method in JavaScript/PHP/PERL/Python, or some htaccess trick? And I mean something powerful, not just a true-false cookie trick, that will allow embedded js files to run, but prevent direct viewing. I've already confirmed that the hotlink protection in the cPanel does not work on js files.
Last edited: