ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: PDF encryption support in ConTeXt?
Date: Mon, 20 Aug 2001 10:09:16 -0400	[thread overview]
Message-ID: <5.1.0.14.1.20010820100124.0330b558@server-1> (raw)
In-Reply-To: <305690265.20010814114524@bigfoot.com>

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 <oberdiek@uni-freiburg.de>
>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
-------------------------------------------------------------------------


      reply	other threads:[~2001-08-20 14:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-14  9:45 Giuseppe Bilotta
2001-08-20 14:09 ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20010820100124.0330b558@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).