set up network access as follows configuration statement to allow or prohibit access to the entire KB or to one or more items in the KB, by other G2 processes, by G2 Gateway bridge processes, and by Telewindows processes. Use the
set up network access as follows statement as summarized in this table:
Allowing or Prohibiting Network Access
You can allow or prohibit all access to the current KB by other G2 processes, G2 Gateway, and Telewindows. set up network access as follows :
Because network access applies to the entire KB, you must include a global configuration statement such as the following in the
connect access by g2 and gsi and telewindows Item-configuration attribute of the KB Configuration system table.
To prohibit network access to a KB:
Enter a configuration statement in the KB Configuration system table:
set up network access as follows :
prohibit connect access by g2 and gsi and telewindows
Item-configuration or Instance-configuration attribute. read and write access permits other G2 processes to access items in the G2 granting the access:
read access to a set of items in the current KB permits those items to be the source of values for variables in the current KB of the other G2 process.
write access to a set of variables in the current KB permits the other G2 process to set those variables' values with set actions.
G2-TO-G2-DATA-SERVICE are candidates for allowing write access.
To restrict read or write access to items by other G2 processes:
Enter a configuration statement:
set up network access as follows :
prohibit read or write access to any vehicle by g2
execute access to procedures in the current KB permits another G2 or a G2 Gateway bridge to invoke them using a Remote Procedure Call (RPC).
To restrict execute access:
Enter a configuration statement:
set up network access as follows :
prohibit execute access to update-vehicle-direction
by g2 and gsi
execute access on a rule that can be activated by forward chaining from a variable does not stop the rule from firing. To do this, you must instead declare a configuration that prohibits access to the variable. inform access to variables in the current KB permits another G2 process to pass messages to those variables through an inform action.
To restrict inform access to items:
Enter a configuration statement:
set up network access as follows :
prohibit inform access to any custom-message-receiving-variable
by g2
connect access permits another G2 process, G2 Gateway, or Telewindows to establish a connection with this G2 process. Because
connect access applies to the entire KB, it restricts or enables all items in the current KB.
To allow or restrict connect access:
Include a configuration statement in the Item-configuration attribute of the KB Configuration system table:
set up network access as follows :
allow connect access by g2 and telewindows
connect access does not apply to particular items, G2 does not support the absolutely keyword for this phrase.