I want to read the pdf file from my website directly.
I want to read the pdfs in my web site, with hide print, download ...etc. How can I do that?
The first, your HTML code is contain APIKEY, please don't contain APIKEY into the HTML code, because this will public your APIKEY to others.
We suggest you may by following steps to solve this problem,
You can call following URL to download your PDF file to VeryPDF's file server,
You will get a new URL, like this,
If you have already subscribed the VeryPDF Cloud API Platform, your PDF file will be placed to your personal folder, e.g.,
This is a permanent URL, your PDF file will be kept on our server forever.
You can use this new PDF URL to replace the PDF URL on your server, you can view this PDF file with following URL, this online viewer is hide some buttons,
You can insert this new URL into a iframe, like following code,
<iframe style="border:medium double rgb(250,0,255)" height="475"
We hoping this way will useful to you, please to try.
If you wish Use VeryPDF Online PDF Viewer to view the PDF files on your server directly, you need to allow Cross-origin Requests in the PDF hosting domain, so that it allows requests from the VeryPDF Online PDF Viewer domain.
If you can't do that, then you can't do Cross-origin requests, because of security concerns.
The PDF file is requested through a XMLHttpRequest so all the usual cross site scripting rules apply. There are a number of ways to get around this such as a proxy running on domainA see http://en.wikipedia.org/wiki/XMLHttpRequest#Cross-domain_requests for more options.
Enabling Cross-Origin Requests in ASP.NET Web API,