Introduction
What exactly do I mean by security? There are several aspects of security in an enterprise workplace: locked doors, guards, cameras, etc. There are just as many aspects when protectingenterprise data. Oracle provides security in four ways: authentication, authorization, data accessand audit.
Authentication
Authentication is a verification that you are who you say you are. It's the equivalent of showing aguard your ID. By default, Oracle implements authentication through a user ID and password; thisis called database authentication.Another method of authentication is OS authentication. Using this method, a user logs into theOS and Oracle will accept that authentication as gospel. Sometimes you will hear OSauthentication referred to as OPS$ (pronounced "ops dollar") accounts. When you use OSauthentication to login into SQL*Plus, the command line looks something like "sqlplus / ". Whenyou use a "/", Oracle looks for an ID that matches your OS login ID and prepends an OPS$ to it.So if your OS account is lcunning, your Oracle account would look like OPS$lcunning. The OPS$is just a default and can be changed.OPS$ accounts provide an additional benefit. OS scripts can log into the database without hardcoding user names and passwords. This enhances overall database security.In my experience, database and OS authentication are the most common authenticationmethods. However, I have run into several other methods. You can tie authentication to third-party providers like Kerberos or DCE (called network authentication) or provide it from the middletier (called multitier authentication).Network authentication is more expensive as you must be running Oracle Enterprise server andlicense an additional security pack.There are several security issues relating to multitier security due to its distributed nature. Theclient must authenticate to the middle tier and the middle tier must authenticate to the database.In addition, because multiple users are sharing a connection, the database must be able todistinguish the application from the user and one user from another. This white paper does notaddress multitier security..
Authorization
Authorization is giving access to certain objects, processes or resources. The equivalent in our enterprise analogy would be a key card allowing access to a specific room or having the passcode to the VIP restroom (I want one of those. I bet all the seats have felt covers and it smells likeroses and lavender in there). The thought here being that management has granted you accessto these rooms or resources.Authorization is implemented using GRANTS on objects to ROLES or USERS. Let's say your IDis JohnD. Your friendly neighborhood DBA can grant you SELECT access on the EMP tableowned by SCOTT. Or not. You never can tell about those DBA people. But if the DBA will grantyou that access, from that point on you can select from SCOTT.EMP. Alternatively, the DBA cancreate a ROLE called EMP_DEPT and grant SELECT on EMP and DEPT to EMP_DEPT. If hethen granted the emp_dept role to your ID, you would be able to select from both the EMP andDEPT tables.
Oracle Security – A Definition in Plain English
3 of 15
Leave a Comment
Nice ebook, just what I was looking for, thanks!!!