I have following code
private Document EncryptPDF(Document document, string password)
{
var documentPrivilege = DocumentPrivilege.ForbidAll;
document.Encrypt(userPassword: password, ownerPassword: null, privileges: documentPrivilege,
cryptoAlgorithm: CryptoAlgorithm.AESx128, usePdf20: false);<span style="color:blue;">return</span> document; }</pre><pre style="font-family: Consolas; font-size: 13px; background: white;"><br></pre><pre style="font-family: Consolas; font-size: 13px; background: white;">I'm expecting whole pdf document to be secure (no copying, no editing )
But when i open the document i can copy and paste the document to word doc
What am i missing?
Also i can see everything allowed in Document properties -> Document Restriction Summary except
Document Assembly : Not Allowed
Page Extraction : Not AllowedWe are using Aspose.net 9.4.0.0 C# runtime v4.0.30319