Skip to main content
Participating Frequently
October 14, 2020
質問

How to hide adobe view sdk code from browser source code

  • October 14, 2020
  • 返信数 1.
  • 312 ビュー

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.

 

    このトピックへの返信は締め切られました。

    返信数 1

    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.