From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5304 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: PDF encryption support in ConTeXt? Date: Mon, 20 Aug 2001 10:09:16 -0400 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010820100124.0330b558@server-1> References: <305690265.20010814114524@bigfoot.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035395900 476 80.91.224.250 (23 Oct 2002 17:58:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:58:20 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Giuseppe Bilotta In-Reply-To: <305690265.20010814114524@bigfoot.com> Xref: main.gmane.org gmane.comp.tex.context:5304 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5304 At 11:45 AM 8/14/2001 +0200, Giuseppe Bilotta wrote: >This message is forwarded from the newsgroup "comp.text.tex". > >----------- Begin Forwarded Message ----------- > >Subject: Re: Security settings with PDF files >From: Heiko Oberdiek >Newsgroups: comp.text.tex > >On 13 Aug 2001 12:12:03 -0700, raider@mylaptop.com (Raider) wrote: > > >I read the pdfTeX manual and found no refference on how can I restrict > >access to the generated pdfs. > >You need the latest pdfTeX (1.00a-pretest) with enabled >encryption support, see the pdfTeX mailing list for details: > http://www.applications/pdftex/ >Package pdfcrypt provides a LaTeX interface and >supports pdfTeX and VTeX. So, actually you want to know if context supports pdftex encryption -) Well, for the moment it does not, for several reasons: (1) it's not part of standard pdftex (although thanh has now wrapped up encryption in a propper primitive) (2) it's not garanteed to work (3) it's spread all over the pdftex code, which makes it hard to maintain (4) encryption can best be combined with serializing in a dedicated program [using xpdf lib] (5) the encryption stuff interprets the object content which makes it dangerous code [ad 5: on the pdftex list there has been some discussion about this and my suggestion was to *not* parse object content, but since the content would come from a macro package, to provide an on/off feature. One obstacle seems to be that hyperref has some hard coded stream sizes in macro code (kind of hackery, sigh). The patch was written while thanh was busy with his thesis so no real follow up took place.] Last week at tug 2001 i discussed this with thanh. Since both encryption and tiff inclusion can break pdftex output, these features will be options that can be compiled in the code, but not defaults. Maybe one of the programmers on this list sees it as an challenge to write a dedicated program for encryption; shoul dbe not that hard if you use the xpdf library. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------