Pages

Subscribe:

Ads 468x60px

Friday, 2 March 2012

Enabling REMOTE_OS_AUTHENT and Security Risks in Oracle

An available approach is the use the “identified externally” account creation and set the parameter file parameter REMOTE_OS_AUTHENT to true. This approach enables and account that has been created using the same name as the client account to connect to the database via SQL*Net without the use of a password. Let’s say the account on a computer is identified with the name James and an account is created in the PROD database for “james identified externally”. James can now select SQL*Plus from his PC start/program menu and, at the username prompt, type and execute /@prod and connect to the SQL command line utility without giving password. If James is logged on directly to the operating system on which PROD is running, he can still just type sqlplus / to access database.

In the scenario in the last section, the security danger is that James will walk away from his PC without locking his terminal. Anyone would then be able to access the database without knowing James’s username and password and have James’s privileges on the system.

The second security risk is that you trust a remote operating system over which you may have no control. All somebody needs to do is determine an Oracle user in your database who has the desired role – including DBA – with an account that has been IDENTIFIED EXTERNALLY. Then, the person creates an account with the same username as the privileged database account, executes SQL*Plus, and BLA,BLA,BLA. That person is in your database with the highest possible privileges and there is nothing you can do, except set REMOTE_OS_AUTHENT=false.

These two security risks are biggest headache considering in Oracle services and database administration. We cannot eliminate these kinds of risk factors if we use REMOTE_OS_AUTHENT parameter without having knowledge and create operating system authentication user login in Oracle database. If we need to set this security then during remote dba services, it should be monitored regularly and audited.


Tuesday, 21 February 2012

How to become Oracle Specialist?


Developing experience in databases control area is very hard and challenging. But after becoming expert oracle dba you would produce more definitely. How to become Oracle DBA and how to become an expert Oracle dba?. Here are you can find some main suggestions and comprehension providing for improving your capabilities for making yourself as Oracle expert.

There are a lot of fastest choices available for getting more comprehension. Thing is that you need to upgrade every day. Every day you need to comprehend something more in same Oracle experience of another experience. Of course, if you are coming up with another experience rather than Oracle databases (because you already Oracle DBA) then it is very best option. Several capabilities always are enabling you to create risky of occupation and need. But if you have level comprehension of Oracle databases with most of Oracle models then it is also better than having comprehension of personal version comprehension.

Above articles identifies more components and some techniques to improve your comprehension as well as experience. This occupation suggestions is arriving from greater experience of my own. During mobile portable remote control control databases support and managing as databases dba, we need greater end of experience because clients are not here with you. They are in search of to end of other international locations and you have only their essential databases web host hosting server. Without looking at their activities you should need to problems firing databases issues or without referring to more components you have to deal with their issue using your techniques and experience. This is not easy procedure to maintain because this is routine procedure as mobile portable remote control control dba.

Sunday, 12 February 2012

Developing Oracle Application with Java

Oracle provides us with three java methodologies to develop applications in the database; Java stored procedures, Enterprise JavaBeans EJB, and Common Object Request Broker Architecture CORBA. Java stored procedures work closely with database triggers, functions, and procedures. The Java stored procedures method allows you to move Java applications into the database, execute them with the JVM, and return values to PL/SQL programs. Enterprise JavaBeans is a standard for 100 percent Java distributed applications. To support CORBA, Oracle has an Object Request Broker ORB in the database, allowing Internet Inter-ORB Protocol called IIOP communication with distributed objects in any language, including Java. Java implemented CORBA server and EJB applications require that you use multithreaded / shared server configuration.


Java stored Procedures:

Probably the quickest way to begin using Java in the Oracle database is with Java stored procedures. You can quickly create small Java applications, load them into the database, and call them as you would a PL/SQL procedure. Some note-worthy benefits of Java stored procedures are as follows.

They provide centralized enforcement of business rules.
They are part of the SQLJ standard
The Java language is an alternative and complement of PL/SQL

Write the Java code and load it in the Oracle database.

If you are not already a savvy Java developer, you will need to first understand the difference type of Java files. Java source code files have the .java extension and are simple text files. Java source code is compiled into portable bytecode files that have the extension .class, Java .class, and resource files can be compressed and combined into archive files, which end with the .jar extension. You can load the following types of Java files into the Oracle database.

  1. Source code and then compile it using the database bytecode compiler.
  2. Compiled code like .class or .jar files.
  3. Resource files, such as images.

You can use two methods to load Java files into the Oracle database. One method is to run the Oracle loadjava utility from the command line. Because loadjava simplifies the process, we will refer to it in the following sections. The other method is to execute the Create Java DDL statement from SQL*Plus. This requires the following steps.

  • Write the code, using your favorite text editor or Integrated Development Environment IDE.
  • Load the code into a BLOB or LOB with the created java statement.
  • Manually resolve any external reference.
 
How to load object using Loadjava, this we can learn from our next session. Want more Oracle DBA tutorials? Check our professional online Oracle DBA courses. Dbametrix is leading database dba company to providing database support to global clients with all aspects and requirement of client to manage small to large databases with strong service level agreement and response time.