PHP Classes

Site pages guard: Monitor and restore damaged application files

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 545 This week: 1All time: 5,545 This week: 560Up
Version License PHP version Categories
site-pages-guard 1.001BSD License5.0PHP 5, Systems administration, Security
Description 

Author

This class can be used to monitor and restore damaged application files.

It can scan the application directory and take a backup of its files into a ZIP archive.

Later the class can check if all files are still OK. If any files were damaged eventually due to a security, the class may warn the administrator by e-mail and restore the damaged or deleted files form a previous backup.

If the installation is updated, the class may update the existing backup archive.

Innovation Award
PHP Programming Innovation award nominee
December 2009
Number 2


Prize: One subscription to the PDF edition of the PHP Architect magazine
A Web site is always susceptible of being invaded by crackers, no matter how hard you try to protect it.

In some cases, Web pages may be defaced. The original site files may be damaged or even removed.

This class provides a solution to quickly restore the original files to recover from an eventual Web site defacement.

It can generate backups of the relevant files. Then it can restore the backups when it detects that any of the files was changed or eliminated.

Manuel Lemos
Picture of Alexander Selifonov
  Performance   Level  
Name: Alexander Selifonov is available for providing paid consulting. Contact Alexander Selifonov .
Classes: 20 packages by
Country: Russian Federation Russian Federation
Age: 61
All time rank: 502 in Russian Federation Russian Federation
Week rank: 411 Down22 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 16x

Winner: 2x

Screenshots  
  • spguard-shot.png
  Files folder image Files  
File Role Description
Plain text file sitepages_guard.php Class Main class module
Accessible without login HTML file sitepages_guard.en.htm Doc. Documentation (english)
Accessible without login HTML file sitepages_guard.ru.htm Doc. Documentation (russian)
Accessible without login Plain text file sp_guard.php Example Working and ready-to-use sample

 Version Control Unique User Downloads Download Rankings  
 0%
Total:545
This week:1
All time:5,545
This week:560Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:58%StarStarStar
Documentation:58%StarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2488