ACCESSRULE
Valid for Manager
Use ACCESSRULE
to control connection access to the Manager process and the processes under its control. You can establish multiple rules by specifying multiple ACCESSRULE
statements in the parameter file and control their priority. There is no limit to the number of rules that you can specify. To establish priority, you can either list the rules in order from most important to least important, or you can explicitly set the priority of each rule with the PRI option.
Default
None
Syntax
ACCESSRULE[, PROGprogram_name
][, IPADDRaddress
][, PRIrule
][,login_ID
]{, ALLOW | DENY}
Argument | Description |
---|---|
PROG program_name |
Specifies connection security for a specific Oracle GoldenGate program or multiple programs specified with a wildcard. If one of these options is not specified, the access rule applies to all programs that Manager starts, stops, or kills. Valid values:
|
IPADDR address |
Permits access to Manager from the host with the specified IP address. |
PRI rule |
Specifies a priority for each |
login_ID |
Permits access based on a user password. This option requires specifying The syntax for USER user, PASSWORD password, [ENCRYPTKEY keyname] Valid values:
When |
ALLOW | DENY |
Determines whether the rule specified with |
Example 1
The following access rules allow any nodes that begin with IP address 205 or the node 194.168.11.102 to access the requested services. All others are denied.
ACCESSRULE, PROG *, IPADDR 194.168.11.102, ALLOW ACCESSRULE, PROG *, IPADDR 205.*, ALLOW ACCESSRULE, PROG *, IPADDR *, DENY
Example 2
The following access rules have been assigned explicit priority levels through the PRI option. These rules allow any user to access the Collector process (the SERVER program), and in addition, allow the IP address 122.11.12.13 to access GGSCI commands. Access to all other Oracle GoldenGate programs is denied.
ACCESSRULE, PROG *, DENY, PRI 99ACCESSRULE, PROG SERVER, ALLOW, PRI 1ACCESSRULE, PROG GGSCI, IPADDR 122.11.12.13, PRI 1
Example 3
The following access rules are the same as Example 2, but they assign priority by means of their order in the parameter file, instead of the PRI
option.
ACCESSRULE, PROG SERVER, ALLOWACCESSRULE, PROG GGSCI, IPADDR 122.11.12.13ACCESSRULE, PROG *, DENY
Example 4
The following access rule grants access to all programs to the user JOHN
.
ACCESSRULE, PROG *, USER JOHN, PASSWORD OCEAN1
Example 5
The following access rule grants access to all programs to the user JOHN and designates an encryption key to decrypt the password. If the password provided with PASSWORD
matches the one in the ENCKEYS
lookup file, connection is granted.
ACCESSRULE, PROG *, USER JOHN, PASSWORD OCEAN1, ENCRYPTKEY lookup1