pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilad Denneboom <gilad.denneb...@gmail.com>
Subject How to apply File Open password protection ONLY?
Date Sun, 29 Jan 2012 16:36:04 GMT
Hi all,

When using StandardProtectionPolicy to protect a document, is it possible
to apply only the the user password (the one used when opening the
document), without applying *any *other form of security restrictions?
When I try to specify the owner password as null or as an empty string and
the AccessPermission is either a new AccessPermission object, or by using
AccessPermission.getOwnerAccessPermission(), the "Page Extraction" setting
of the created file is always set to "Not allowed".
Anyone know of a why to change that?

Thanks, Gilad.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message