You are here: Re: HTML to PDF « HTML « IT news, forums, messages
Re: HTML to PDF

Posted by Jim Higson on 03/17/06 17:05

wes wrote:

> I want the text to be uneditable. In html format, a user could alter
> some details and print out a report with incorrect data

PDF isn't exactly uneditable, just more difficult to edit. There's an office
suite called KOffice that supports quite well the importing (and therefore
editing) of PDFs.

If you want to make sure a file doesn't change (any file, not just HTML),
you can do that by taking an MD5 hash of it, and then in future checking
the file still gives the same hash. This is how, for example, Bittorrent
knows the files it downloads haven't been altered by network corruption or
attack[1].

If you're interested, Google links to plenty of articles on how to do this.

[1] I'm not certain BT uses MD5, but the principle's the same.
--
Jim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация