Project

General

Profile

Actions

Feature #17401

open

Upload PDF: deny if it is protected / convert to unprotect if possible.

Added by Carsten Rose 7 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
QFQ Developer
Target version:
Start date:
04.12.2023
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

Falls ein PDF hochgeladen wird und dieses geschuetzt ist:

- versuchen es auf 'unprotect' zu konvertieren (Original muss erhalten bleiben).
- wenn das nicht moeglich ist den Upload ablehnen.
- Generic & Custom Fehlermeldung
- Check optional machen, by default aktiv.


Related issues

Related to QFQ - Feature #7336: PDF Upload: disallow PDFs with specific Meta informationNewCarsten Rose22.11.2018

Actions
Actions #1

Updated by Carsten Rose 7 months ago

  • Related to Feature #7336: PDF Upload: disallow PDFs with specific Meta information added
Actions #3

Updated by Carsten Rose 6 months ago

  • Tracker changed from Support to Feature
Actions #5

Updated by Carsten Rose 5 months ago

In #17643 ist ein verschluesseltes PDF. Das PDF ist privat, darum ist es nicht im QFQ Ticket hinterlegt.

$ pdfinfo 1.pdf

Creator:         Antenna XSL House Formatter V7.3 MR1 Linux : 7.3.2.60453 (2023-03-06T13:41+09)
Producer:        Antenna House PDF Output Library 7.3.1863
CreationDate:    Tue Dec  5 15:08:18 2023 CET
ModDate:         Tue Dec  5 15:08:18 2023 CET
Custom Metadata: no
Metadata Stream: yes
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           14
Encrypted:       yes (print:yes copy:yes change:no addNotes:no algorithm:RC4)
Page size:       594.72 x 841.68 pts (A4)
Page rot:        0
File size:       257576 bytes
Optimized:       no
PDF version:     1.7

# Via GS mit output device 'pdfwrite' werden die encrypt tags entfernt (Funktioniert mit GS 9.55 / U22) :
$ gs -sDEVICE=pdfwrite -dNOPAUSE -sOutputFile=$2 -- $1

Fuer pdfinfo wird poppler-utils, fuer gs das Paket ghostscript benoetigt - beide Pakete werden bereits von QFQ gefordert (https://docs.qfq.io/en/master/Installation.html#report-form).

Actions #6

Updated by Carsten Rose 5 months ago

  • Target version changed from 24.8.0 to 24.9.0
Actions

Also available in: Atom PDF