Skip to main content
July 4, 2008
Question

read-only pdf file?

  • July 4, 2008
  • 1 reply
  • 319 views
Is it possible using cfdocument to create a pdf file that can be read but not modified? (CFMX 7)

It would be nice if someone could explain how the permissions works in plain English. I haven't been able to make any sense of Adobe's docs.

There is a list of permissions that you can apply - does that mean if you don't apply them they don't have that permission? I tried using NO permissions as below but that doesn't seem to do anything.

<cfheader name="Content-disposition" value="attachment; filename=delcnt#strZIP#.pdf">
<cfdocument format="pdf" encryption="128-bit" permissions="">

Ken
This topic has been closed for replies.

1 reply

Inspiring
July 4, 2008
have you tried "none"? if that doesn't work *AND* you can't upgrade to cf8 & use
cfPDF you can use iText (powers cfDocument, etc) to "stamp" the PDF with new
permissions (ie create the PDF normally but don't encrypt it just yet use iText
to do that & set permissions). see this thread:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=1233207