Load remote resources, that can be a reason of security risks. Take a look at common security issues and their solutions in Java....LoadOptions disableExternalImage = new LoadOptions (); disableExternalImage...setResourceLoadingCa ( new DisableExternalImage ()); Document doc = new Document...