JavaScript network and file access in Aspose.PDF

Is the JavaScript engine in used in Aspose.PDF .Net to convert HTML to PDF capable of accessing information from disk or from the network?

For security reasons I want to be able to control where Aspose goes for information.

I’ve implemented my own resource loader for external .css, .js, and font files, and I’m happy that that is secure. But I’m concerned about the javascipt engine itself being able to access things as the javascript is run.

Thanks.

@BenROhio

Thank you for contacting support.

Please note that the JavaScript implementation in Aspose.PDF for .NET API can not access disk or network. In case you have any further inquiry, please share respective files along with more details so that we may guide you accordingly.

1 Like

Thank you. That works out well for my purposes. If you do ever include that capability, please also include a way to turn it off.

@BenROhio

Sure. We will consider security aspects and your valuable feedback if such a case occurs in future releases.