I have created my own private member pages, and only member can view the content of that pages. In one of those pages I have defined a button to open a document when member opens this document it takes him to another page to show the document. However I have discovered that anyone who copies that URL will have access to the document, which I don’t want.
How can I make this URL private to it’s corresponding member? or maybe I can protect it with password?
Thank You.
At this time, it is not possible to make a Wix media (url) private with any permissions.
Alternatively you can:
-
embed the PDF document
-
Auto download the document without redirecting person
-
use a 3rd party that offers these permissions (Dropbox, etc)
Here is a tutorial I have that shows you how to embed and auto download documents:
https://support.totallycodable.com/en/article/embed-pdf-document-on-a-dynamic-page-using-wix-code
https://codequeen.wixsite.com/document-download/tutorial-video
@code-queen I tried the second link, but I’m getting an error and am unable to save the file or view it.
I think the static link is not the correct one: https://docs.wixstatic.com/ugd/${url}?dn=${name}.pdf
because I have uploaded some other documents and the link I have is the following:
https://3d87f27b-7092-4286-973b-6b3bcb5fe4cd.filesusr.com/ugd/7e9255_41e759c4231448faa839a6d953eeed45.pdf
Thank you for your help.