Ask yourself how you might address the following circumstances when managing a website: A file is unintentionally added, modified or deleted A file is maliciously added, modified or deleted A file becomes corrupted More importantly, would you even know if one of these circumstances occurred? If your answer is no, then keep reading. In this guide I will demonstrate how to create a profile of your file structure which can be used to monitor the integrity of your files. The best way to determine whether or not a file has been altered is to hash its contents.
PHPMaster: Monitoring File Integrity
Martin E. Psinas is a self-taught web developer, published author, and is currently studying Japanese. For more information, visit his website.