PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 726 This week: 2All time: 4,577 This week: 96Up
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
Age: 41
All time rank: 129532 in Romania Romania
Week rank: 106 Up3 in Romania Romania Up
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:726
This week:2
All time:4,577
This week:96Up