How to Disable Downloads with Foxit PDF SDK for Web
by Conor Smith | May 12, 2020
Disabling the download function applies to both the UI and API. This can be achieved by using the option with PDFViewer::constructor getAdditionalPerm:function() as below: { return 0; //zero means disable } Once set, the Download menu will be grayed out in the UI menu list, and the API calling to get the file will see a permission error […]
Keep reading