【问题标题】:PDF Encryption from Kofax Capture Text Export Connector来自 Kofax Capture Text Export Connector 的 PDF 加密
【发布时间】:2020-03-16 03:26:10
【问题描述】:

我正在尝试加密将在 kofax capture 处理后导出的 pdf 文件。 通过文档我发现了这段代码:

在 ACConfig.xml 中添加以下标签以防止 PDF 生成器生成加密的 PDF 文件 用空白密码。 (635584,Kofax Capture 10.2.0.3 中引入的标签)

 <PDFExport Encryption="1" Password="kofax">
 <Profile Name="abc" Encryption="0"/>
 <Profile Name="def" Encryption="1" Password="kofax123"/>
 </PDFExport>

对于“abc”配置文件,将关闭加密。 对于“def”配置文件,将使用 kofax123 的密码打开加密。 对于其他配置文件,将使用 kofax 的密码打开加密。 注意 PDFExport 标记中为 Encryption 和 Password 属性定义的值将被应用 到所有配置文件,但被配置文件标签覆盖的配置文件除外。此外,加密的默认值 和密码属性为“0”且为空。

不确定代码应该在 releaseScript 还是 acconfig 文件中。非常感谢您帮助我指导我自定义文本导出连接器的正确方向。我正在使用 Capture 10.2

【问题讨论】:

    标签: encryption export connector kofax


    【解决方案1】:

    您引用的 xml sn-p 应添加到 ACConfig.xml 文件中。为了清楚起见,下面是 10.2.0.3 发行说明中提到此功能的全文(其中一部分在您的问题中)。可以看到在ACConfig标签内添加了PDFExport标签,这是ACConfig.xml中的顶级标签。

    635584 - Creating a PDF with version 1.6/1.7 generates a protected file
     with a blank password.
     Add the tag <PDFExport> to ACConfig.xml: 
     Example:
     <ACConfig>
        ...
        <PDFExport Encryption="1" Password="kofax" >
            <Profile Name="abc" Encryption="0" />
            <Profile Name="def" Encryption="1" Password="kofax123" />
        </PDFExport>
        ...
     </ACConfig>
     For the "abc" profile, the encryption will be turned off.
     For the "def" profile, the encryption will be turned on with the password of "kofax123".
     For other profiles, the encryption will be turned on with the password of "kofax".
    
     Note: 
     - The values defined for the Encryption and Password attributes in PDFExport tag will be 
           applied to all profiles except the ones overriden by the Profile tag.
     - The default value of Encryption and Password attributes are "0" and empty.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多