Installing and Configuring SQL*Net
The advent of a product to enable the interaction with the database from a remote client has been a boon to the computing world. For the Oracle RDBMS, that product was SQL*Net (Net8 for Oracle8). SQL*Net enables the ability to connect to a database in Tokyo from a database in New York and share information between the two. While this ability has been a benefit to industry, it carries with it the potential for security breaches.
Required Files
Connections via SQL*Net are
controlled by three files, the LISTENER.ORA
file, the TNSNAMES.ORA file, and the
SQLNET.ORA file. If you do not define the
database in these files (called “configuring the
Listener”), connecting to your database from a remote client is
virtually impossible. In an environment where the Oracle Names Server
is used, the third file, SQLNET.ORA, defines the
location of the Names Server and the order in which a database
connection is determined. The SQLNET.ORA file
indicates either that the Names Server is to be checked first for a
database’s connection information or that the
TNSNAMES.ORA file is to be checked first.
You must configure these files if you are not going to use a Names Server, after installing the SQL*Net product on your system and in order to run a listener process on your system (see the section “About the Names Server” later in this chapter) as follows:
- LISTENER.ORA
This is a required file on the database server, and it contains the configuration for the listener. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access