• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF 2021 Update 5 and JDK 11.0.17 Fails using the <cfdocument permissions attribute

Community Beginner ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

After installing Update 5 for CF2021 and updating the JDK from 11.0.14 to 11.0.17

<cfdocument no longers works if the encryption attribute is specified.

 

We've tried document-2021.0.05.330109.jar (two versions, one from the update 1,831kb, and one sent to us from CF Support: 4,233kb)

 

i.e.

<cfdocument
filename = "MyFile.pdf"
format = "PDF"
fontembed = "yes"
mimetype = "text/html"
encryption="128-bit"

permissions = "AllowPrinting,AllowCopy">

My Content

</cfdocument>

Fails with no error message.

 

Removing

encryption="128-bit"

permissions = "AllowPrinting,AllowCopy"

works, although the pdf can then be edited.

 

Good:

<cfdocument
filename = "MyFile.pdf"
format = "PDF"
fontembed = "yes"
mimetype = "text/html" >

My Content

</cfdocument>

TOPICS
Advanced techniques , Security , Server administration

Views

687

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 25, 2022 Nov 25, 2022

Copy link to clipboard

Copied

Hi @Scog ,

I do believe it is a bug, and have reported it: https://tracker.adobe.com/#/view/CF-4216050  

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 25, 2022 Nov 25, 2022

Copy link to clipboard

Copied

Appreciate that, @BKBK

- Tim ( aka Scog Mellonhead)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 28, 2022 Nov 28, 2022

Copy link to clipboard

Copied

Hi @Scog 

 

I think we have a patch for this. Can you please send an email to cfsup@adobe.com and request a patch. Please mention this thread. 

Thanks,
Priyank Shrivastava

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 02, 2022 Dec 02, 2022

Copy link to clipboard

Copied

We've been in touch with Ravi Shankar and have received a fix for this. The fix however broke the <CFPDFForm> tag.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2023 Jan 31, 2023

Copy link to clipboard

Copied

LATEST

Sending you an email - the patch we received from Ravi at Adobe makes <cfpdfform> fail.

 

- Tim

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation