Logo Help Center

Storing proxy server credentials for Smart Connection

Storing proxy server credentials for Smart Connection

When accessing Enterprise Server through a proxy server, credentials such as a username and password need to be provided.

To automate the log in process, the credentials can be stored in one of the following locations:

  • In the WWSettings.xml file, installed on each system on which Smart Connection is installed
  • In the Smart Connection preferences of InDesign or InCopy

Info: The information presented here applies to the following versions of Smart Connection:

  • Smart Connection 9
  • Smart Connection for Adobe CC
  • Smart Connection for Adobe CC 2014

Storing the credentials in the WWSettings.xml file

Notes:

  • Storing user names and passwords in configuration files can be a potential security issue. A better alternative is to store this information by using the Proxy setting of the Smart Connection preferences in InDesign or InCopy. (See Storing proxy server credentials for Smart Connection below.)
  • When defining the settings in both the WWSettings.xml file and the InDesign or InCopy preferences, those in the WWSettings.xml will be used.
  • File: WWSettings.xml file
  • Name of option: Proxy
  • Location: anywhere between the <Settings> </Settings> tags
  • Values:
  • address: address of the proxy server
  • user: the user name
  • password: the password
  • type: (Optional) Defines the proxy type. Use one of the following values:
  • SOCKS4
  • SOCKS4A
  • SOCKS5
  • SOCKS5_HOSTNAME
  • HTTP” (used when type is not set)
  • HTTP1.0
  • httptunnel. (Optional) Set to ‘true’ when HTTP Proxy tunneling should be used.
  • authorization. (Optional) Defines the proxy authorization protocol. Use one of the following values:
  • basic
  • digest
  • gssnegotiate
  • ntlm
  • any (used when authorization is not set)
  • anysafe
  • Example:

Default entry without additional arguments:

<SCEnt:Proxy address= "yourserver:8080" user="administrator" password="n@n0m@c"/>

Default entry including additional arguments:

<SCEnt:Proxy address= "yourserver:8080" user="administrator" password="n@n0m@c" type="SOCKS4" httptunnel="true" authorization="any"/>

Important: Make sure to validate the WWSettings.xml file for correct content. See Validating the WWSettings.xml file.

Storing the credentials in the Smart Connection preferences

In this method, the credentials are stored as preferences in InDesign or InCopy and only the address of the proxy server is stored in the configuration file.

Step 1. Access the Smart Connection preferences in InDesign or InCopy.

The proxy preferences of Smart Connection

Figure: The Proxy preferences (A) of Smart Connection.

Step 2. Fill out the username and password.

Step 3. Add the following option to the WWSettings.xml file:

  • File: WWSettings.xml file
  • Name of option: Proxy
  • Location: anywhere between the <Settings> </Settings> tags
  • Values:
  • address: address of the proxy server
  • type: (Optional) Defines the proxy type. Use one of the following values:
  • SOCKS4
  • SOCKS4A
  • SOCKS5
  • SOCKS5_HOSTNAME
  • HTTP” (used when type is not set)
  • HTTP1.0
  • httptunnel. (Optional) Set to ‘true’ when HTTP Proxy tunneling should be used.
  • authorization. (Optional) Defines the proxy authorization protocol. Use one of the following values:
  • basic
  • digest
  • gssnegotiate
  • ntlm
  • any (used when authorization is not set)
  • anysafe
  • Example:

Default entry without additional arguments:

<SCEnt:Proxy address= "yourserver:8080"/>

Default entry including additional arguments:

<SCEnt:Proxy address= "yourserver:8080" type="SOCKS4" httptunnel="true" authorization="any"/>

Important: Make sure to validate the WWSettings.xml file for correct content. See Validating the WWSettings.xml file.

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.