Skip to main content
Participating Frequently
October 14, 2020
Question

How to hide adobe view sdk code from browser source code

  • October 14, 2020
  • 1 reply
  • 310 views

The main problem is mine is that i am showing a document in my website using adobe view sdk and i did not want allow to download document by user so i disable the download button but now i find out that when i see page source code there a user can see my file link and so he can easily download the file using this link as iam using dropbox to storing file and dropbox link with adobe view sdk so is there any way i can hide or encrypt that link so user cannot able to see that link.

 

    This topic has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    October 19, 2020

    You can pass the PDF content as either a direct URL, as you seem to be aware, or as a Promise that resolves to a ByteArray. In your code, the Promise can call another url that returns the PDF as a base64 or some other obfuscated format that then gets turned into a ByteArray.