Project

General

Profile

Actions

Feature #7336

open

PDF Upload: disallow PDFs with specific Meta information

Added by Carsten Rose over 5 years ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Carsten Rose
Target version:
Start date:
22.11.2018
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

  • Es waere gut wenn man den Upload von PDF's ablehnen koennte, konfigurierbar pro Problemfall.
  • Beispiel: das folgende PDF ist im A0 Format und Creator ist 'Drawboard PDF'
    Title:          New Document
    Author:         Claudio Broger
    Creator:        Drawboard PDF
    Producer:       Drawboard PDF
    CreationDate:   Sun Nov 18 10:38:02 2018
    ModDate:        Tue Nov 20 17:49:23 2018
    Tagged:         no
    UserProperties: no
    Suspects:       no
    Form:           none
    JavaScript:     no
    Pages:          6
    Encrypted:      no
    Page size:      2384 x 3370 pts (A0)
    Page rot:       0
    File size:      4162449 bytes
    Optimized:      yes
    PDF version:    1.7
    
Vorschlag:
# Beispiel, Es kann nur einmal pdfInfoDeny anagegeben werden

pdfInfoDeny=Creator:Drawboard PDF
pdfInfoDeny=Page size:(A0)
pdfInfoDeny=Creator:Drawboard PDF,Page size:(A0)
pdfInfoDeny=Creator:Drawboard PDF,Page size:(A0)|Creator:Microsoft Office 365|...

pdfInfoMessage=Note zu Bedingung 1|Note zu Bedingung 2| ...
  • Die mit '|' getrennten Strings werden einzeln getestet (||). Damit koennen mehrere Bedingungen angegeben werden.
  • Die mit ',' aufgefuehreten Elemente muessen alle erfuellt sein, damit 'Deny' erkannt wird (&&).
  • Soltle pdfInfoMessage nicht genuegend Elemente enthalten wird das erste Element genommen.

Related issues

Related to QFQ - Feature #17401: Upload PDF: deny if it is protected / convert to unprotect if possible.NewQFQ Developer04.12.2023

Actions
Actions

Also available in: Atom PDF