By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,815 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

detect change of remote page

P: n/a
hi everyone,

i have some links on my site, i need to be absolutely sure that the
html has not been modified, even one character. i would rather not
rely on http headers, just the html (so it is not dependant on the
webserver). should i make a database to actually mirror the page, and
then check against my copy? any better ideas? :)

thanks
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I noticed that Message-ID:
<aa**************************@posting.google.com > from will taubin
contained the following:
i have some links on my site, i need to be absolutely sure that the
html has not been modified, even one character. i would rather not
rely on http headers, just the html (so it is not dependant on the
webserver). should i make a database to actually mirror the page,
and then check against my copy? any better ideas? :)


Don't know how you would do it, but a hash of the page may be
sufficient? A bit like PGP sig?

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBP71VCmUsPVsZRo4gEQK+cwCfUoGD8tF8SKmidE1E6mjRtO 0cJJ4An2Vd
x0Gv5k/DriaFBcxM7563FePJ
=2nYp
-----END PGP SIGNATURE-----

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #2

P: n/a
will taubin:
hi everyone,

i have some links on my site, i need to be absolutely sure that the
html has not been modified, even one character. i would rather not
rely on http headers, just the html (so it is not dependant on the
webserver). should i make a database to actually mirror the page, and
then check against my copy? any better ideas? :)


Checksum the file, and store the checksum locally. Then you can verify the
file against this checksum when you access it. md5() is ok for this
purpose.

André Nęss
Jul 17 '05 #3

P: n/a
André Nęss <an*********************@ifi.uio.no> wrote in message news:<bp**********@maud.ifi.uio.no>...
will taubin:
hi everyone,

i have some links on my site, i need to be absolutely sure that the
html has not been modified, even one character. i would rather not
rely on http headers, just the html (so it is not dependant on the
webserver). should i make a database to actually mirror the page, and
then check against my copy? any better ideas? :)


Checksum the file, and store the checksum locally. Then you can verify the
file against this checksum when you access it. md5() is ok for this
purpose.

André Nęss


thanks, but if i generate a checksum, then later download the file
again to compare the checksums, will the timestamps affect the new
checksum? or is it generated only based on the content of the file?
Jul 17 '05 #4

P: n/a
> Checksum the file, and store the checksum locally. Then you can verify the
file against this checksum when you access it. md5() is ok for this
purpose.

If you are using Windows, the Advanced CheckSum Verifier from
http://www.irnis.net is just for you :)
Jul 17 '05 #5

P: n/a
will taubin:
André Nęss <an*********************@ifi.uio.no> wrote in message
news:<bp**********@maud.ifi.uio.no>...
will taubin:
> hi everyone,
>
> i have some links on my site, i need to be absolutely sure that the
> html has not been modified, even one character. i would rather not
> rely on http headers, just the html (so it is not dependant on the
> webserver). should i make a database to actually mirror the page, and
> then check against my copy? any better ideas? :)


Checksum the file, and store the checksum locally. Then you can verify
the file against this checksum when you access it. md5() is ok for this
purpose.

André Nęss


thanks, but if i generate a checksum, then later download the file
again to compare the checksums, will the timestamps affect the new
checksum? or is it generated only based on the content of the file?


It's generated based on whatever you input, so as long as you only input the
contents, and this doesn't change, you're ok.

André Nęss
Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.