1. Specify protocol(s) allowed for URI access

Configuration on Java
-
Feature
ResolverFeature.ACCESS_EXTERNAL_DOCUMENT(type:String) -
System property
xml.catalog.accessExternalDocument -
Property file property
access-external-document

Configuration on .NET
-
Feature
ResolverFeature.ACCESS_EXTERNAL_DOCUMENT(type:string) -
Environment variable
XML_CATALOG_ACCESS_EXTERNAL_DOCUMENT -
Property file property
accessExternalDocument
This feature restricts the protocols that are allowed during URI resolution. If an attempt is made to resolve a document and the URI for that document uses a protocol not listed in this feature, the request is rejected. See JAXP 185.
The keyword “all” allows all protocols. An
empty string allows none.
The default value for this feature is “all”.