Re: How to create a Non-Editable PDF ?
| From: | Tom Mathews | Date: | Fri, 02 Mar 2001 17:02:39 +0000 |
| Subject: | Re: How to create a Non-Editable PDF ? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5792@lists.php.net to get a copy of this message | ||
I'll look into this again - presumably its just a flag that gets set, which means that when you
use php to generate a pdf, you could then reopen the file and insert the relevent flag. I wrote a
postscript printer driver a little while back, so I should be able to figure out what form this will
take - I'll post an answer when I've worked it out.
Tom
(alternatively, if you have distiller and have time to play, do something like create a document
containing one character and save it. Save a new copy with the attibutes that you want set and do a
binary comparrisson of the two).
sillyboy@mindless.com wrote:
> Adobe Acrobat has built in security features that allow restrictions on specific actions,
> including selecting text, editing the document, printing, etc... If you open up the document within
> Acrobat Exchange (the non-free PDF editor from Adobe) you can set those security preferences.
> Unfortunately I've never found a 3rd party program that lets you set those security
> preferences, rather odd consider Adobe has opened up the PDF format.
>
> Antonio, unfortunately the only way I know set the security on a PDF doc at this time is to buy
> a copy of Exchange and do it in there.
>
> I haven't tried pdflib, so it's possible that there is an option for the security
> settings.
>
> > -----Original Message-----
> > From: Tom Mathews [mailto:Tom.MATHEWS@st.com]
> > Sent: March 2, 2001 3:12 AM
> > To: PHP Windows lista
> > Subject: Re: [PHP-WIN] How to create a Non-Editable PDF ?
> >
> >
> > 1) Text
> > It is a feature of Acrobat reader that you can take any pdf file
> > and select text
> > from it and copy this to a clipboard. The only way to prevent
> > this is to use a
> > version of Acrobat reader before 4.0! You should not be able to
> > alter the text
> > using acrobat reader (although using the full version of Acrobat,
> > you should be
> > able to 'touch up' any text that you feel like).
> >
> > 2) Adding Graphics
> > Like 1), you will not be able to prevent anyone fom drawing on
> > your document,
> > however to prevent it from being saved, just set the read-only
> > attribute to 'on'
> > when you create the pdf file. (The user can of course turn this
> > off it they
> > download the file locally, but that's up to them!)
> > Tom
> > Antonio Lopez wrote:
> >
> > > When i create a PDF file with PHP, this file is editable with
> > Acrobat Reader:
> > > I.e. i can select all the text and copy & paste to another text
> > processor.
> > > I.e. i can draw a line or a rect on the pdf document, and save it.
> > >
> > > I want to create a Non-Editable PDF with PHP!
> > >
> > > How can i do this?
> > >
> > > ===================================================
> > > Antonio López Luna
> > > Ingeniería e Integración Avanzadas (Ingenia), S.A.
> > > Parque Tecnológico de Andalucía
> > > 29590 - Málaga (Spain)
> > >
> > > Tel. 34-952029300 Ext. 386
> > > Fax. 34-952029309
> > > Web: http://www.ingenia.es
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >