Login   Register  
PHP Classes

Site pages guard: Monitor and restore damaged application files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-11-28 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 526 All time: 5,155 This week: 1,398Up
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
Name: Alexander Selifonov is available for providing paid consulting. Contact Alexander Selifonov .
Classes: 15 packages by
Country: Russian Federation Russian Federation
Age: 52
All time rank: 612 in Russian Federation Russian Federation
Week rank: 123 Down7 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 11x

Winner: 2x

  • 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:526All time:5,155
 This week:0This week:1,398Up