From the Knowledge Base

Hosting PDFs on other services such as Amazon S3 or a CDN

By default, web browsers have security policies that do not allow Javascript code to fetch files from a different domain to the web page on which the code is already running. However, it is possible to configure Amazon S3 and