space
Previous Page | Next Page

SAS/CONNECT 9.2 Driver for Java

A Sample Configuration File

# A Sample Configuration File

# A configuration file is required for the tunnel feature's server programs.
# This configuration file must be modified for your configuration. The tunnel
# feature will not work on your system if you have not updated this file with
# the proper information.

# The tunnel feature's server programs will look for this file in the same
# directory where they are located. You have the option of overriding this
# default using an environment variable. This option is documented in our
# documentation package.

# The following lines specify which hosts, ports, SAS commands and usernames 
# are allowed by the tunnel feature's programs.

# Any lines preceding the first SASHOST line are considered global parameters
# and are added to all SASHOST groups below. The following TIMEOUT parameter
# would apply to all hosts.

TIMEOUT=60

# The SASHOST parameter in this config file specifies that the first host
# YOURTESTHOST will be allowed for SAS/CONNECT driver for Java applets and
# SAS/SHARE driver for JDBC applets. 

SASHOST=YOURTESTHOST

# The SASPORT parameter specifies that the applets may connect to YOURTESTHOST 
# on ports 23 and 5010. In this particular example, port 23 is the telnet port 
# that is used to start the SAS/CONNECT session. Port 5010 is the port the 
# SAS/SHARE server is listening on. No other ports are will be allowed
# access from the applets.

ALLOW_SASPORT=5010,23

# The following parameters are used by the SAS/CONNECT driver for Java only.
# They have  no meaning for JDBC. Only the command specified by the alias
# mySasCommand will be allowed for SAS/CONNECT driver for Java applets. You
# must change this command to a valid command to start SAS on the host
# YOURTESTHOST. All other commands will not be allowed.

mySasCommand = sas -dmr -noxcmd -nosyntaxcheck -noterminal -cleanup
ALLOW_RESPONSE_3=$mySasCommand

# Only user1 and user 2 may access host YOURTESTHOST.  All other users will be
# denied access.

ALLOW_USERNAME=user1,user2

# The next SASHOST parameter in this config file specifies that the other host
# SECONDTESTHOST will be allowed for SAS/CONNECT driver for Java applets and
# SAS/SHARE driver for JDBC applets.  No other hosts will be allowed access from
# the applets. 

SASHOST=SECONDTESTHOST

# Any user except user3 may access host SECONDTESTHOST.

DISALLOW_USERNAME=user3

Previous Page | Next Page | Top of Page