We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF toolbar disabling

Thread ID:





70075 Nov 26,2007 01:24 PM UTC Nov 28,2007 09:16 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Asked On November 26, 2007 01:24 PM UTC


In my project, we are showing a PDF stored on the web server on to web browser using inline PDF reader. But our requirement is to disable the "Save Copy" and "Print" options displayed on the PDF toolbar thus by restricting the user to just read the document.

We are planning to go for Essential PDF to accomplish this. Before that can you please confirm, is Essential PDf support such feature? if yes, which are the modules I need to buy.

What ever the samples you may provide, will these samples work with the evaluation downloads of SyncFusion.


Melba Winshia [Syncfusion]
Replied On November 28, 2007 09:16 AM UTC

Hi Madhusudhan,

Thank you for your interest in Syncfusion Products.

Essential PDF is a Non UI component which can produce Adobe PDF files. The PDF file that is created using Essential PDF can only be viewed using Adobe Acrobat or the free version of Acrobat Viewer from Adobe. By using Essential PDF, it is possible to disable the "Print" options displayed on the PDF toolbar by encrypting the document, but it is not possible to disable the "Save Copy" option.

//Document security
PdfSecurity security = document.Security;

//use 128 bits key
security.KeySize = PdfEncryptionKeySize.Key128Bit;
security.OwnerPassword = "syncfusion";
security.Permissions = PdfPermissionsFlags.CopyContent;
security.UserPassword = "password";

Please refer the sample in the below link which illustrates the above:


Please try this and let me know if this helps.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon