• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

adobe api writing files to disk

New Here ,
Oct 13, 2021 Oct 13, 2021

Copy link to clipboard

Copied

We're sending PDFs via a web app to the adobe API to be converted to word doc.  These are PDFs with sensitive data and cannot be written to disk.

I was browsing through our web app logs today and STUNNED to see this:

 

defaultwirxunwb4sdu_0-1634157535167.png

Can someone expand on this?  How can we turn this off?

Views

418

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 13, 2021 Oct 13, 2021

Copy link to clipboard

Copied

These are temporary and should be deleted immediately afterwards - for Node for example we document this here, https://opensource.adobe.com/pdfservices-node-sdk-samples/apidocs/latest/FileRef.html:

"When a FileRef instance is created by this SDK while referring to a temporary file location, calling any of the methods to save the fileRef (For example, FileRef#writeToStreamFileRef#saveAsFile etc.) will delete the temporary file."

 

As far as I know, when a user uploads to a web app, there's always at least _some_ local copy of the file in temporary space before it's handled. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2021 Oct 13, 2021

Copy link to clipboard

Copied

Our web app is an API and things are sent in encoded as base64.  There's no record on disk until the adobe dll write it there.

What if on some server setups the web app server isn't given access to write to temporary storage?  Does your dll fail?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 13, 2021 Oct 13, 2021

Copy link to clipboard

Copied

If the process couldn't write to temp, then it would fail, so nothing would be stored. And again, it should be cleaned up automatically and not persist. It's not going to be web accessible so that too shouldn't be an issue. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 18, 2023 Jan 18, 2023

Copy link to clipboard

Copied

LATEST

You can use rest api instead of using sdk to avoid saving file to disk storage 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources