We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Programmatically password protect pdf files

I’m trying to password protect pdf files using Aspose.Pdf for .NET. Can you point me to any sample code or documentation that would point me in the right direction. I will generate the PDF using MS-SQL Server Reporting Services and then I would like to programatically grab the pdf and password protect it before programatically emailing it out. Does that sound like something supported by Aspose.Pdf for .NET?

Thanks in advance!


Aspose.Pdf for .NET API is an independent class library project compiled under the .NET framework. You can use Aspose.Pdf for .NET DLL as a custom library in the reporting services project. Aspose.Pdf for .NET API allows to protect a PDF document with a password. Please refer to this help topic: Encrypt PDF File using Different Encryption Types and Algorithms

Best Regards,
Imran Rafique