User should not be able to export from generated PDF file with Aspose.pdf .Net


I need to restrict the user to save and download the pdf generated with aspose.pdf (.Net)



Thank you for contacting support.

We are afraid it may not be possible to restrict download of a document using Aspose API. As the API is class library and does nothing with GUI/Viewer, Save/Save As options are not a feature or property of PDF document but these are the features of Viewer which is used to display the PDF document and Aspose.PDF can only manipulate the PDF document and not the Viewers.

However in order to display PDF files, you may consider using GroupDocs.Viewer for .NET of our sister company, as this application provides the feature to restrict PDF downloading. Please note that our EULA is displayed using GroupDocs.Viewer and as you can notice, there is no save option to download the file within viewer.