PHP Classes
elePHPant
Icontem

JS Protector: Protect JavaScript loading files set in sessions

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-10-01 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 702 This week: 1All time: 4,484 This week: 1,047Up
Version License PHP version Categories
js-protector 1GNU General Publi...5PHP 5, Security
Description Author

This class can protect JavaScript loading only the files assigned in session variables.

It sets session variables for the current page that associate to the JavaScript files that it may need to load.

The class can generate HTML code for loading the specified JavaScript files. Those files maybe loaded via AJAX requests to make it more difficult to see which files are being loaded.

Innovation Award
PHP Programming Innovation award nominee
October 2011
Number 7
Often Web developers are concerned that the users retrieve and abuse from the JavaScript used by their sites.

This class provides a solution to make it more difficult for the users to see the JavaScript code loaded by a site. It uses AJAX requests to load and run JavaScript code in a page.

Manuel Lemos
Picture of Raul Molnar
Name: Raul Molnar <contact>
Classes: 3 packages by
Country: Romania Romania
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • screen1
  Files folder image Files  
File Role Description
Files folder imageclass (1 file)
Files folder imagecss (1 file)
Files folder imageimg (1 file)
Files folder imagejs (3 files)
Plain text file file1.php Example main file
Plain text file file2.php Example Inclusion file

  Files folder image Files  /  class  
File Role Description
  Plain text file js_protector.php Class class file

  Files folder image Files  /  css  
File Role Description
  Plain text file style.css Data CSS fiel from example

  Files folder image Files  /  img  
File Role Description
  Image file dange.gif Photo Image test

  Files folder image Files  /  js  
File Role Description
  Plain text file index.php Aux. Added to increase safety for js folder
  Plain text file jquery164.js Data Jquery1.6.4 source
  Plain text file protected.js Data Protected js file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:702
This week:1
All time:4,484
This week:1,047Up