Yep, that definitely works, but, I'd still say it is a bug, or lack of
a feature, that you can't handle PDFs with JUST a userpassword. I'm
still going to update pdfUtils for this. If you have control over how
the PDF is generated then its easy enough to fix, but if you don't,
you are still screwed.


On Fri, Jan 23, 2009 at 10:56 AM, Jochem van Dieten <[email protected]> wrote:
> On Fri, Jan 23, 2009 at 4:40 PM, Raymond Camden wrote:
>> http://www.coldfusionjedi.com/index.cfm/2009/1/23/How-to-remove-a-password-from-a-PDF-using-ColdFusion
>
> PDFs have 2 passwords, a user password and an owner password. If you
> use the owner password instead of the user password in combination
> with "none" encryption it will work just fine:
> <cfpdf action="protect" source="protected.pdf"
>   newUserPassword = "test"
>    newOwnerPassword = "test"
>    permissions = "All"
>    destination = "unprotected.pdf"
>    encrypt = "none"
>    overwrite = "yes"
>    password = "user" />
>
> Jochem
>
>
> --
> Jochem van Dieten
> http://jochem.vandieten.net/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318419
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to