Jump to content
  • 0

Question

Does anyone know how to use Amazon AWS S3 for files (pdf in this case) that are not public but that can be accessed by an authenticated Caspio datapage?

I'm using Google Docs Viewer to display uploaded pdf files but it only works if the directory that the pdf file is in is Filestor enabled. The pdf files are proprietary to my users and cannot be public so I cannot use Filestor.

I tested out an Amazon AWS solution (putting the pdf file in an S3 Bucket) and storing the S3 file url in a Caspio table, then using that file url with Google Docs Viewer to display the pdf. This does work but of course the S3 file has to be set to 'public' in order to display, which of course is the same issue as with a non-Filestor Caspio file folder.

I was hoping to somehow set the AWS S3 bucket to have permissions (and a password) that I could reference in the datapage script that opens the pdf viewer. This way the pdf file wouldn't be public but would still be accessible from a Caspio datapage (the datapage would be authenticated so only the owner of the file would have access to it). 

It'd be so much easier if Caspio had a pdf viewer (pdf viewed in the browser or a datapate) instead of just downloading to the local computer.  But an AWS solution might also work, I just don't know how to get/set permissions to use my specific AWS S3 buckets. Any help would be very much appreciated!

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...