Disable external asset loading in email files

Heya,

We’d like to be able to disable loading of external assets in email files (ie. <img src="https://example.com/image.png">).

We are running GroupDocs Conversion for Java, in a Kubernetes environment with Cillium. For security reasons Cillium is configured to block any requests from the app out to the internet - and we’d additionally like to prevent GroupDocs from trying to make any HTTP asset requests for security defence in depth.

I can see in EmailLoadOptions we can configure a zero-timeout via setResourceLoadingTimeout which prevents waits for the connection to timeout, however this doesn’t seem to actually prevent the HTTP calls from being attempted.

Is there a way that we can configure GroupDocs to not make these requests? Alternatively would this be a feature you would consider adding to the product such that we could setLoadExternalAssets on EmailLoadOptions or something similar?

Many thanks,

Dan

Hello @danielroy96 ,

Thank you for contacting us.
At the moment, the functionality you need for EmailLoadOptions is not available in the GroupDocs.Conversion for Java library.

We have discussed your use case with our development team, and they confirmed that they are interested in adding this capability in future versions of the product. Unfortunately, they will need some time for investigation, and there is currently no estimated timeframe for when this feature will be available.

We have registered your request in our tracking system under the ID CONVERSIONJAVA-3044, and we will keep you informed of any updates regarding this ticket.

1 Like