You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Gilad Denneboom <gi...@gmail.com> on 2012/02/06 14:06:14 UTC

Re: How to apply File Open password protection ONLY?

No one?

On Sun, Jan 29, 2012 at 5:36 PM, Gilad Denneboom
<gi...@gmail.com>wrote:

> 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.
>