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

Export without Metadata in Pictures (security gap?)

Community Beginner ,
Jul 04, 2023 Jul 04, 2023

When I export a PDF for Indesign, I can determine the metadata of the PDF by default. (File Info)

But I cannot find a solution to exported images embedded in the PDF without the picture metadata. i can read the compelte Metadata with Acrobat (right click on the object). I can also delete the metadata with Acrobat, but if this feature does not exist in Indesign Export. Or am I wrong?

I assume that many companies are not aware that they share sensitive content on their websites via the metadata, if these were uploaded directly after the InDesign PDF Export?
I found a lot PDF Online from big companies with really accurate detailed Information in the PDF like Mails/Phonenumbers/Patient informations/non public adresses/ etc  (all exported with InDesign)

Is there a solution in Indesign? The support couldn’t help me.

TOPICS
Bug , Feature request , Import and export , Publish online
1.7K
Translate
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

correct answers 1 Correct answer

Community Expert , Jul 05, 2023 Jul 05, 2023

Looks to me like you can use AcrobatPro’s File>Save As Other>Optimize PDF... to remove all metadata including image metadata. If I Export a default PDF/X-4 with an image that includes its own metadata and inspect the image via Acrobat’s Preflight I get this, which includes all of the metadata I don’t want you or Adobe removing even though you can:

 

Screen Shot 4.png

 

The Optimized PDF:

 

Screen Shot 5.png

 

Screen Shot 6.png

 

In the metadata I’m making it clear that I don’t want the image edited, which would include removing the metadata. Obv

...
Translate
Community Expert ,
Jul 04, 2023 Jul 04, 2023

Hi @Whistle23 , An InDesign document’s metadata is scriptable, so you probably could strip metadata via a script. Editing the metadata in AcrobatPro might be the better approach because the metadata might be needed in the context of layout editing:

 

https://helpx.adobe.com/acrobat/using/pdf-properties-metadata.html

 

 

Translate
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 ,
Jul 04, 2023 Jul 04, 2023

Thank you very much for the quick answer. How do I get a script for this problem?

Translate
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 Expert ,
Jul 04, 2023 Jul 04, 2023

Have you tried clearing the metadata via the File Info dialog? Not sure if setting the metadata to the InDesign Default or importing your own template would stop the image metadata from exporting to a PDF, but you could test:

 

Screen Shot 23.pngScreen Shot 24.png

 

 

Translate
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 Expert ,
Jul 04, 2023 Jul 04, 2023

This is a huge and widespread problem across the internet. Every day, people upload pictures of their private lives... that contain metadata that pinpoints their location and other personal information useful to a wide variety of malefactors.

 

And it's a different facet, but I just discovered this week that Word 365 sends all 'inserted' images out to a service that uses image recognition to insert draft alt-text. The security and privacy implications are staggering.

 

I don't think it should be up to every user to have to erase auto-generated metadata from images that are published in any way, especially as few users seem to be aware it's there. That amateurs uploading family and event photos don't know it is one thing. That publishers of medical documents, ads, reports etc. aren't aware enough to strip this information is shocking. (And my telling a colleague at a major US NGO caused him to all but hang up on me in his haste to call their cybersecurity department.)

 

ID, and even Word, should have an inherent feature to remove metadata from exported images. By default. Period.

Translate
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 Expert ,
Jul 04, 2023 Jul 04, 2023

ID, and even Word, should have an inherent feature to remove metadata from exported images

 

What about copyright metadata, wouldn’t a feature that globally strips all metadata be a potential copyright violation?

 

It can be scripted—this thread has a script to remove image ancestor metadata, which causes file bloat problems, but could be adapted to remove other metadata from placed images in an ID doc.

 

https://community.adobe.com/t5/indesign-discussions/is-there-a-script-to-clear-indesign-metadata-red...

Translate
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 Expert ,
Jul 04, 2023 Jul 04, 2023

That you can get out a toolbox and mod something is not a solution. The major point here is that few users have any idea that information is even in there. Go look for stories of people who were tracked down, to their front door, from photos posted on social media. (Usually because the camera geotagged the shot.)

 

It could be made selective, preserving a copyright slug or accessibility alt-text added at a certain step. But neither of those is justification for leaving this all but secret leak of personal, private and proprietary information on export to a final distribution document.

Translate
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 Expert ,
Jul 04, 2023 Jul 04, 2023

Request the feature? It’s clearly easy to implement—all the metadata is exposed in the scripting API—I can only guess that the legal department will get in the way.

 

As a photographer I might want my website URL and other contact info included in the image I allow you to put in your client’s page layout.

Translate
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 Expert ,
Jul 04, 2023 Jul 04, 2023

Every tool has a correct use. I won't argue that. But things like copyright notices are entirely on the honor/verification system anyway, so giving special protection to, say, that field just complicates the issue. (Besides, there is no 'protection' on earth that keeps someone from deleting or changing it with very little skill needed.) If a licensee won't put a text string in the document, they aren't any more likely to retain an EXIF field.

 

This is largely beyond asking for a feature. It's a meta-issue across platforms and software, made much much worse because of almost universal ignorance.

Translate
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
People's Champ ,
Jul 05, 2023 Jul 05, 2023

At this time, no.

But there are 3rd party metadata cleaners you can try. Run them after the PDF is exported and they remove all hidden metadata from a file. Not sure if they will go "deep" enough to remove photo metadata embedded inside a PDF, but worth checking them out.

 

|    Bevi Chagnon   |  Designer, Trainer, & Technologist for Accessible Documents |
|    PubCom |    Classes & Books for Accessible InDesign, PDFs & MS Office |
Translate
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 Expert ,
Jul 05, 2023 Jul 05, 2023

Looks to me like you can use AcrobatPro’s File>Save As Other>Optimize PDF... to remove all metadata including image metadata. If I Export a default PDF/X-4 with an image that includes its own metadata and inspect the image via Acrobat’s Preflight I get this, which includes all of the metadata I don’t want you or Adobe removing even though you can:

 

Screen Shot 4.png

 

The Optimized PDF:

 

Screen Shot 5.png

 

Screen Shot 6.png

 

In the metadata I’m making it clear that I don’t want the image edited, which would include removing the metadata. Obviously there is little I can do to stop a third party from doing that to a PDF, but I certainly don’t want Adobe to collaborate in the theft, and include a button to do it in the page layout app. In the end metadata is the creator’s responsibility.

Translate
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 ,
Jul 05, 2023 Jul 05, 2023
LATEST

Thank you for this insightful answer

Rather tedious. But the only solution that worked.
I hope that Adobe will somehow solve this differently in the future. It would make sense to determine the metadata export when exporting the file.

Translate
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