Download pdf file from iframe






















Please Sign up or sign in to vote. See more: C. Posted Nov am Member Add a Solution. F-ES Sitecore Nov am. If the viewer you are using doesn't support it then there is nothing you can do. If the PDF is in my browser then it's already in my temp folders so I can copy it from there, load it into any viewer I want and print away. The reason you're not finding an answer to your problem is because there isn't one.

Top Rated Most Recent. Accept Solution Reject Solution. Apart from what F-ES Sitecore has said, your users can always take screenshots of the file if you lock other options like mouse right-click or iframe save.

But this leads to a poor UX for the users. A good approach is to trust the users with the content and do not expect anything else, and I highly recommend letting the users download or print the PDF because that way they trust your website and are likely to return and support your business model. You can try to authorize the users before rendering the PDF file so that you know who is reading the content. Posted Nov am Afzaal Ahmad Zeeshan. You have no way of controlling this in the browser window.

But, that will not stop users from taking a screen shot of the browser window, or even just using the camera phone everyone has in their pocket now. Posted Nov am Dave Kreskowiak. Ask Question. Asked 2 years, 4 months ago. Active 2 years, 4 months ago. Viewed 16k times.

How can I fix it? Improve this question. Robs Robs 7, 10 10 gold badges 55 55 silver badges bronze badges. Can you inspect iframe src if its fine? See apex:include. Add a comment. Active Oldest Votes. Improve this answer. Pranay Jaiswal Pranay Jaiswal The problem was being caused by this: base64; where I should have been using base64, Starbuck Starbuck 91 1 1 silver badge 3 3 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast what if you could invest in your favorite developer? Who owns this outage? Building intelligent escalation chains for modern SRE. Featured on Meta.



0コメント

  • 1000 / 1000