As a workaround, i have stored this encoded images in Attachments and referring it inside my page. This method only work with Chrome browser. Luckily html natively supports parsing base64 pdfs to normal ones and. If the goal is to seamlessly display a PDF file in a browser but prevent the user from downloading it, or more correctly, prevent the user from opening the file after downloading it, you don't need to password protect the file. Image Pdf Viewer is a custom visual that lets users display pdf documents in their Power BI reports, using the PDF JS library. rendering the pdf correctly in Chrome and Mozilla, but showing blank in IE. PDF Viewer supports loading the PDF document from database as base64 string using the documentPath API. Display base64 pdf in browser But facing issue with Android and Blackberry.