PHP Classes

JS Protector: Protect JavaScript loading files set in sessions

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 726 All time: 4,578 This week: 455Up
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 (1)  
  • screen1
  Files folder image Files (9)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:726
This week:0
All time:4,578
This week:455Up