How Strong (as security) a pdf is

I want to generate a pdf who disallow the Copy.

I saw - in the past - two types of security
one that can be bypassed by many web servers in minutes
another one (medial purpose) wwho needs years to crack (per the above web sites)

AllowCopyingContents = False makes the document in what category ?
AllowCopyngContents

That’s just a simple flag. It does not encode your content.

Almost none at all I would think. It’s just an instruction to the viewer to not allow copy and paste. Given the mac ability to copy text right out of images all you would have to do is take a screenshot and then copy and paste from that. There are likely PDF viewers that completely ignore the setting.

1 Like

Probably here is one those times MBS would lead with their advanced features from their PDF Engine. They offer 40 Bit RC4, 128 Bit RC4/AES, and 256 Bit AES Encryption. The binary contents of the pdf makes no sense without a password.

I know that Ian, I am in this industry since 1986.

I use LiveText (after OCR) too. But who says the target knows that ?

The user have to be able to read, but set the creation of a look alike a bit difficult.

In the Past, I make creen shots of my text and create a pdf with that: no direct copy/paste (OCR and LiveText works, but takes time, especially text checking).

You either want the real answer, which is that it offers no security what so every, or you are just waiting time asking. The MBS options would require a password to be entered to read the PDF, after that you can copy and paste them with trivial workaround. These days if you can see it you can copy it.

2 Likes

You already say that. I willl use other way.

Just for completion, PDFDocument also offers the option to encrypt (password) the generated PDF contents.

1 Like

@Javier_Menendez
There are three types of encryption for PDF. Which one did Xojo use?

PDF can’t provide a no-copy guarantee. You can make it more difficult by using the various built-in flags for no copying, no editing, file encryption, etc., but these functions require proper implementation by the reader. They aren’t guarantees. If a PDF can be displayed on a screen, there’s a (possibly rather difficult) way to extract the content.

Depending on how important security is you you, this may be acceptable.