Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / July 2008



Tip: Looking for answers? Try searching our database.

read-only pdf file?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gr8white - 04 Jul 2008 01:02 GMT
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
PaulH **AdobeCommunityExpert** - 04 Jul 2008 06:10 GMT
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&t
hreadid=1233207

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.