3 ms·
Does anyone know of a monitor that validates entire pages? I want to make sure that my site was not defaced so I would like to compute and compare hash values f
by DenisM 17y ago
Does anyone know of a monitor that validates entire pages? I want to make sure that my site was not defaced so I would like to compute and compare hash values for a set of files.
- cracell 17y agoHmm. So I've been writing an uptime monitor and this is an interesting idea. How would you update the hash and how would you handle dynamic content? If the service offered this feature via API seems like a lot of work on the user end.
- DenisM 17y agoThe site is AJAX so all files (HTML, JS) are static. I am perfectly fine copy-pasting the hashes manually each time I roll out the new version, like this file: file1.html 123112 scripts/script1.js 333222 scripts/script2.js 444555 The dynamic part of the site comes from a database, but there is no logic in it - only code, and thus possibility to inject malicious sctript, odd behavior or offensive visual through hacking the web site is vastly reduced by verifying hashes and alerting me about any changes.