CORS expose header setting similar like AWS/S3
We are integrating PDFJS viewer in our application to preview Box and S3 PDF files with a consistent user experience. In AWS/S3, there is a settings to configure CORS to expose response headers and it's working fine. Does Box enterprise account also support to configure CORS settings to expose header to download file using javascript? If it doesn't support then what is the possible solution for this?
-
Hello! Have you come across our Content Preview UI Element? https://developer.box.com/docs/box-content-preview
The Preview component will allow you to preview PDFs as well as 100+ other file types stored on Box and can expose a download button. This download button uses an iframe and the download URL for the file from the Box API to download on the client.
Please sign in to leave a comment.
Comments
1 comment