You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Martín Mauri <mm...@profesi.com.ar> on 2004/06/03 14:38:52 UTC

Read Only PDF

Hi users!

Is it possible to generate a "read only" PDF with Cocoon so that it can't be
modified later with any other pdf tool ?

thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Cocoon 2.1.5-dev ?

Posted by Martín Mauri <mm...@profesi.com.ar>.
Hi users!

is the version that appears in
http://apache.mesi.com.ar/cocoon/cocoon-2.1.5-src.tar.gz, the 2.1.5-dev one
?

thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Cocoon 2.1 + Encryption

Posted by Martín Mauri <mm...@profesi.com.ar>.
Hi users,
I've installed everything like appars in
http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption but I can't get it
working, could it be a problem with the API? Can anybody tell me what jar
should be placed and where?
I've tried putting bcprov-jdk14-123.jar in the jre/lib directory of my JDK
as well as jboss' lib directory (I'm running jboss/tomcat/cocoon), and I've
also configured the serializer thing in the sitemap file. I can get the app
running though, but my PDF still allows printing and saving...any idea?

thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Read Only PDF

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 3 juin 04, à 15:40, Matthias Stöckel a écrit :

> It's quite easy. You can find the information here:
> http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption

hehe...right before our very eyes ;-)
-Bertrand


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Read Only PDF

Posted by Matthias Stöckel <Ma...@fztig938.bank.dresdner.net>.
Hi Martin,

I think there is no way to prohibit the user from saving a pdf file. You 
can disable only the printing, copy and editing feature.
But with encryption enabled it isn't so easy to modifiy the file after 
it has been saved. There are some tools which can actually crack this 
encryption within a short time, but for normal use this shouldn't matter.
Did you have a look at the FOP page and did you install a crypto provider?
Cheers
   Matthias

Martin Mauri wrote:
> Thanks very much Matthias!
> I?ve tried that, it seems pretty straightforward, unfortunately I couldn't
> get it to work, probably because I'm using embedded Tomcat/Cocoon on JBoss.
> I've set up everything as the page says, but when I generate de PDF I can't
> still save it with the reader, it supposed I can't do that with encription
> isn't it?
> 
> Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Read Only PDF

Posted by Martin Mauri <mm...@profesi.com.ar>.
Well, I meant "I CAN still save it with the reader"

> -----Mensaje original-----
> De: Martin Mauri [mailto:mmauri@profesi.com.ar]
> Enviado el: Jueves, 03 de Junio de 2004 04:41 p.m.
> Para: users@cocoon.apache.org
> Asunto: RE: Read Only PDF
>
>
> Thanks very much Matthias!
> I?ve tried that, it seems pretty straightforward, unfortunately I couldn't
> get it to work, probably because I'm using embedded Tomcat/Cocoon
> on JBoss.
> I've set up everything as the page says, but when I generate de
> PDF I can't
> still save it with the reader, it supposed I can't do that with encription
> isn't it?
>
> Martin
>
> > -----Mensaje original-----
> > De: Matthias Stockel
> > [mailto:Matthias.Stoeckel@fztig938.bank.dresdner.net]
> > Enviado el: Jueves, 03 de Junio de 2004 10:41 a.m.
> > Para: users@cocoon.apache.org
> > Asunto: Re: Read Only PDF
> >
> >
> > >>>...Is it possible to generate a "read only" PDF with Cocoon
> so that it
> > >>>can't be
> > >>>modified later with any other pdf tool ?...
> >
> > It's quite easy. You can find the information here:
> > http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption
> > Cheers,
> >    Matthias
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Read Only PDF

Posted by Martin Mauri <mm...@profesi.com.ar>.
Thanks very much Matthias!
I?ve tried that, it seems pretty straightforward, unfortunately I couldn't
get it to work, probably because I'm using embedded Tomcat/Cocoon on JBoss.
I've set up everything as the page says, but when I generate de PDF I can't
still save it with the reader, it supposed I can't do that with encription
isn't it?

Martin

> -----Mensaje original-----
> De: Matthias Stockel
> [mailto:Matthias.Stoeckel@fztig938.bank.dresdner.net]
> Enviado el: Jueves, 03 de Junio de 2004 10:41 a.m.
> Para: users@cocoon.apache.org
> Asunto: Re: Read Only PDF
>
>
> >>>...Is it possible to generate a "read only" PDF with Cocoon so that it
> >>>can't be
> >>>modified later with any other pdf tool ?...
>
> It's quite easy. You can find the information here:
> http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption
> Cheers,
>    Matthias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Read Only PDF

Posted by Matthias Stöckel <Ma...@fztig938.bank.dresdner.net>.
>>>...Is it possible to generate a "read only" PDF with Cocoon so that it
>>>can't be
>>>modified later with any other pdf tool ?...

It's quite easy. You can find the information here:
http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption
Cheers,
   Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Read Only PDF

Posted by Antonio Gallardo <ag...@agssa.net>.
Bertrand Delacretaz dijo:
>> ...Is it possible to generate a "read only" PDF with Cocoon so that it
>> can't be
>> modified later with any other pdf tool ?...
>
> I think FOP provides some extensions to encrypt generated PDFs - you
> might want to search the FOP mailing list archives or web site. I think
> it is possible but don't know the details.

Now, I remember some related post in some of the Cocoon list. Search also
the archives: users and devel.

Best Regards,

Antonio Gallardo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Read Only PDF

Posted by Bertrand Delacretaz <bd...@apache.org>.
> ...Is it possible to generate a "read only" PDF with Cocoon so that it 
> can't be
> modified later with any other pdf tool ?...

I think FOP provides some extensions to encrypt generated PDFs - you 
might want to search the FOP mailing list archives or web site. I think 
it is possible but don't know the details.

-Bertrand


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org