For questions about anti-tampering systems on webpages and linux, please feel free to answer them ~!
Source: Internet
Author: User
For questions about anti-tampering systems on webpages and linux, please feel free to answer them ~! -- Linux general technology-Linux technology and application information. For details, refer to the following section. The webpage tamper-proofing system is actually a webpage monitoring and recovery system, which is generally divided into three levels of Detection: Directory comparison, file comparison, and file content comparison.
I) assumptions:
The Home Directory of the website is/var/http/www/jk09.
The main website file is index.html.
The standard website recovery file directory is/home/www/jk09.
Ii) system design functional requirements:
Monitors the Web site in real time. Compares the files on the website to check whether the Web site webpage (*. html) is modified.
When files on the Web site are damaged or illegally modified, the system can automatically monitor and stop the Apache server to quickly restore the files that are damaged or illegally modified, effectively ensures the integrity and authenticity of Web data.
This system is based on Linux Shell and runs Shell scripts to monitor the webpage of the server. It is applicable to websites using Apache servers.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service