PDF Security - Bubble's PDF VIEWER Plugins

Hi There !

I’m uploading PDFs to a “Private Thing” and trying to use “PDF VIEWERs” to see the document.
However, it does not open. I suposse it is due to AWS Password…

Is there a way to open inside Bubble’s plugins? Cause, I can open the link in my browser…
Here is a sample saved at AWS - Private Mode.:
https://bfe5ad2ee81377d519dadd3aee003e2e.cdn.bubble.io/f1687903830890x872693853953684600/Catalogo_Tubos_Mecanicos_v2.pdf?AWSAccessKeyId=AKIATBBF73RNGVJNFEZN&Expires=1687905909&Signature=4l8ppSCLtj1pY4%2FBAJIkBBklg64%3D

I got this in Bubbles plugins…

Tks in advance.

Instead of a plugin try just adding an HTML element and do this:

<html>
  <body>
    <object data="[put your dynamic file here]" type="application/pdf" width="100%" height="100%">
      <p>Unable to display PDF. <a href="[put your dynamic file here]">Download</a> instead.</p>
    </object>
  </body>
</html>
1 Like

Is there a way to see inside Bubble, preserving security?
Or opening the file without security?
Tks anyway… I was thinking about dowloading… but it is not the same :))

Tks!

What I posted would put the browsers native PDF viewer (like the one you see in Edge and Chrome) in the HTML element and you can view the PDF inside your app. It falls back to “Unable to display PDF, download instead” if the browser doesn’t support it.

There is a good chance your viewer plugin is doing the exact same thing

So… we’ve got to download to make it work in a safer manner…
Tks !

1 Like

It doesn’t download, it just displays the PDF in the HTML element you put on page… but as long as you’re good then :+1:

My question is not to expose sensitive data in the internet…
As I understood, this way is pretty safe… Am I correct?
I did used the “link component” and is easy to do all desing with it… Also, opens imeddiately everything the browser recongnizes…

Yes that is fine

1 Like

Tks man!

This topic was automatically closed after 70 days. New replies are no longer allowed.